Queue object interface. More...
Data Fields | |
bool(* | send )(INSTANCE(this), const unsigned char *data) |
Send data via the queue. | |
bool(* | receive )(INSTANCE(this), unsigned char *data) |
Receive data from queue. | |
bool(* | empty )(INSTANCE(this), bool *out) |
Returns queue status. | |
void(* | destroy )(INSTANCE(this)) |
Destroy queue. | |
Queue object interface.
This API allows use of queue previously allocated via QueueServiceInterface.
Destroy queue.
This will destroy this queue. Further calls to this queue will fail. Queue can be allocated to another process in the future.
Returns queue status.
[in] | this | will be provided by the RPC call mechanism |
Receive data from queue.
This will copy the oldest data out of the queue. If queue is empty then this call will block until queue is filled with at least one entry of data.
[in] | this | will be provided by the RPC call mechanism |
[out] | data | pointer to place where data will be written |
Send data via the queue.
This will copy data into queue. Queue must be initialized before this call is made. The size of data is determined based on value of item_size
used during queue initialization.
[in] | this | will be provided by the RPC call mechanism |
[in] | data | pointer to data. |