Public Methods | |
struct KeyParam* | Message_get_key_param (struct Message *ptr_message) |
struct Message* | Message_new (size_t sizeof_message) |
cyid_t | Message_get_sender_id (struct Message *ptr_message) |
bool | Message_is_broadcast (struct Message *ptr_message) |
bool | Message_post (struct Message *ptr_message, char *sz_process_name, cyid_t cyid) |
void | Message_post_all (struct Message *ptr_message, short mask) |
void* | Message_deliver (struct Message *ptr_message, char *sz_process_name, cyid_t cyid, clock_t timeout) |
delivery_t | Message_check_delivery (struct Message *ptr_message) |
delivery_t | Message_wait_delivery (struct Message *ptr_message, struct Flag *ptr_flag) |
bool | Message_has_buffer (struct Message *ptr_message) |
struct Buffer* | Message_get_buffer (struct Message *ptr_message) |
void | Message_attach_buffer (struct Message *ptr_message, struct Buffer *ptr_buffer) |
void | Message_copy (struct Message *ptr_message, struct Message *ptr_templ) |
void | Message_delete (struct Message *ptr_message) |
Public Attributes | |
struct Message* | next |
char* | dst_name |
cyid_t | cyid_from |
cyid_t | cyid_to |
bool | deleted |
short | msgid |
long | param [2] |
Structure for interprocess communications; can be sent either locally or remotely.
|
Attaches a buffer to the message.
|
|
Checks the delivery state.
|
|
Makes the destination Message an exact copy of the source Message.
|
|
Deletes a message.
|
|
Delivers a message to a specified target, with delivery result notification.
|
|
Gets a pointer to the attached buffer.
|
|
Returns a pointer to the message's KeyParam structure.
|
|
Returns the 32-bit device ID (CyID) of the Message's sender.
|
|
Tests whether the Message has an attached buffer.
|
|
Determines if the message has no specific address.
|
|
Returns a new Message from the system stores.
|
|
Posts a message to a specified target.
|
|
Posts a message to all Queues.
|
|
Waits until Message delivery is completed or flag is set.
|
|
Cy ID of the sender device. |
|
Cy ID of the target device. |
|
TRUE if the Message has been deleted from the queue. |
|
The name of the target process. |
|
ID of the Message. |
|
Pointer to the next Message in the queue. |
|
Additional parameters for the Message. |
Copyright © 2001 Cybiko, Inc. All rights reserved. | More information... |