public interface ISendTask
Modifier and Type | Method and Description |
---|---|
byte[] |
getData()
Get the encoded message.
|
java.lang.Object |
getMessage()
Get the message.
|
java.util.Map<java.lang.String,java.lang.Object> |
getNonFunctionalProperties()
Get the non-functional requirements.
|
byte[] |
getProlog()
Get the prolog bytes.
|
jadex.bridge.IComponentIdentifier[] |
getReceivers()
Get the receivers.
|
void |
ready(jadex.commons.IResultCommand<jadex.commons.future.IFuture<java.lang.Void>,java.lang.Void> send)
Called by the transport when is is ready to send the message,
i.e.
|
java.lang.Object getMessage()
jadex.bridge.IComponentIdentifier[] getReceivers()
byte[] getData()
byte[] getProlog()
void ready(jadex.commons.IResultCommand<jadex.commons.future.IFuture<java.lang.Void>,java.lang.Void> send)
send
- The command to be executed to send the message with the transport.
The result future of the command should indicate
when/if message sending was successful.java.util.Map<java.lang.String,java.lang.Object> getNonFunctionalProperties()