Script classes and functions used for passing messages and events between classes.
More...
Detailed Description
Script classes and functions used for passing messages and events between classes.
Function Documentation
bool dispatchMessage |
( |
string |
queueName, |
|
|
string |
message, |
|
|
string |
data | |
|
) |
| | |
Dispatch a message to a queue.
- Parameters:
-
| queueName | Queue to dispatch the message to |
| message | Message to dispatch |
| data | Data for message |
- Returns:
- True for success, false for failure
- See also:
- dispatchMessageObject
bool dispatchMessageObject |
( |
string |
queueName, |
|
|
string |
message | |
|
) |
| | |
Dispatch a message object to a queue.
- Parameters:
-
| queueName | Queue to dispatch the message to |
| message | Message to dispatch |
- Returns:
- true for success, false for failure
- See also:
- dispatchMessage
bool isQueueRegistered |
( |
string |
queueName |
) |
|
Determines if a dispatcher queue exists.
- Parameters:
-
| queueName | String containing the name of queue |
bool registerMessageListener |
( |
string |
queueName, |
|
|
string |
listener | |
|
) |
| | |
Registers an event message.
- Parameters:
-
| queueName | String containing the name of queue to attach listener to |
| listener | Name of event messenger |
void registerMessageQueue |
( |
string |
queueName |
) |
|
Registeres a dispatcher queue.
- Parameters:
-
| queueName | String containing the name of queue |
void unregisterMessageListener |
( |
string |
queueName, |
|
|
string |
listener | |
|
) |
| | |
Unregisters an event message.
- Parameters:
-
| queueName | String containing the name of queue |
| listener | Name of event messenger |
void unregisterMessageQueue |
( |
string |
queueName |
) |
|
Unregisters a dispatcher queue.
- Parameters:
-
| queueName | String containing the name of queue |