comm__name | string | The name of the connection. |
comm__timeout | number | Count of os.clock () an operation will wait/attempt until a failure is accepted. |
comm__interests | table | Registered interests in the connection. |
comm__processing | table | List of messages currently being processed. |
msg | msg | The message being received. |
result | boolean | True if at least one handler received the message, false if not. |
msg | msg | The message structure. |
success | boolean | True if the send operation succeeded, false if failed (no confirmation for an addressed message was received before the timeout count was reached). |
none |
name | string | The name of the connection. |
timeout | number | Count of os.clock() an operation will wait/attempt until a failure is accepted. If nil the default is 5. |
com | comm | The instantiated comm object. |
msg | msg | The msg message structure to copy. |
copy | msg | The copied structure. |
none |
name | string | The name of the connection. |
none |
timeout | number | Count of os.clock() an operation will wait/attempt until a failure is accepted. |
msg | msg | The message to test. |
result | boolean | True if the message is a confirmation, false if not. |
msg | msg | The message to test. |
result | boolean | True if the message has already been processed, false if not. |
msg | msg | The message to test. |
exclusive | boolean | If true the message must be addressed to this computer, otherwise it will be accepted if broadcasted. |
result | boolean | True if the message is addressed to this computer or is broadcasted (if exclusive is false), false if not. |
msg | msg | The message to test. |
result | boolean | True if the message was sent by this computer, false if not. |
none |
result |
boolean |
True if any messages to process, false if
not. |
none |
none |
message | string | The raw message. |
sender_id | number | The number id of the computer that sent the message. |
target_id | number | The number id of the target computer (this computer). This will be nil if the message was broadcast. |
none |
wnd | window | The window interested in the connection. |
application | string | Identifier for filtering which messages should be passed to the sent notification and receive handlers. |
none |
recipient | string/number/nil | The intended recipient computer's name or id number. If nil the message is broadcasted to all computers. |
application | string | Identifier for message filtering. This should match the sender's and recipient's registered application filter. |
context | string | Message specific context. This states the purpose/structure of the data. |
data | table/string/number | The data for the message, if any. |
message_id | number | Unique identifier for the message, or nil if the send was not successful (the message was addressed to the sending computer). This can be used to identify the message in the sent handler. |
msg | msg | The message to confirm. |
none |
name | string | The name for the connection. |
none |
timeout | number | Count of os.clock () an operation will wait/attempt until a failure is accepted. If nil the default is 5. |
none |
msg |
msg |
The message to transmit. |
result | boolean | True if the message transmitted, false if not. |
wnd | window | The window interested in the connection. |
application | string/nil | The message filtering identifier the interest was registered with. |
none |
sender_id | number | The identifier of the sending computer. |
sender_name | string | The name of the sending computer. |
recipient_id | number | The identifier of the intended recipient computer. It may be nil. |
recipient_name | string | The name of the intended recipient computer. It may be nil. |
application | string | Application filter identifier. Only registered interests in the connection with a matching application field of the sent message will receive the message. |
context | string | Application specific indicator of the purpose/structure of the message/data. |
data | any | Application specific data. If a table only simple data types can be used. |
message_id | number | A random number dedicated by the comm mechanism to uniquely this message. |
sequence | number | An incremented sequence of send attempts for the message. |