Inheritance diagram for NetworkTask:
Public Member Functions | |
this (ICluster cluster, char[] channel, IEventListener listener=null) | |
void | put (ITask task) |
Private Member Functions | |
this (ICluster cluster, char[] channel) | |
void | cancel () |
void | put (IMessage message) |
void | put (IPayload payload) |
Static Private Member Functions | |
this () |
|
Construct a NetworkTask gateway on the provided QOS cluster for the specified channel. Each subsequent queue operation will take place over the given channel. You can listen for cluster replies by providing an optional IEventListener. Outgoing tasks will be tagged appropriately such that a consumer can respond using IEvent.reply(). Reimplemented from NetworkMessage. Definition at line 187 of file NetworkQueue.d. |
|
Add an ITask entry to the corresponding queue. This will throw a ClusterFullException if there is no space left in the clustered queue. Definition at line 200 of file NetworkQueue.d. |
|
Construct a NetworkQueue gateway on the provided QOS cluster for the specified channel. Each subsequent queue operation will take place over the given channel. Reimplemented from Client. Definition at line 59 of file NetworkQueue.d. |
|
Definition at line 63 of file Client.d. References Client::EmptyMessage. |
|
Cancel the listener. No more events will be dispatched to the reply IEventListener. Reimplemented from IConsumer. Definition at line 145 of file NetworkQueue.d. References IConsumer::cancel(). |
|
Add an IMessage entry to the corresponding queue. This will throw a ClusterFullException if there is no space left in the clustered queue. Definition at line 159 of file NetworkQueue.d. References IChannel::getName(), and IMessage::setReply(). Referenced by testClusterMessage(). |
|
Add an IPayload entry to the corresponding queue. This will throw a ClusterFullException if there is no space left in the clustered queue. Definition at line 84 of file NetworkQueue.d. References ICluster::putQueue(). Referenced by testClusterQueue(). |