public interface ITransport
Modifier and Type | Method and Description |
---|---|
java.lang.String[] |
getAddresses()
Get the addresses of this transport.
|
java.lang.String[] |
getServiceSchemas()
Returns the prefixes of this transport
|
boolean |
isApplicable(java.lang.String address)
Test if a transport is applicable for the target address.
|
boolean |
isNonFunctionalSatisfied(java.util.Map<java.lang.String,java.lang.Object> nonfunc,
java.lang.String address)
Test if a transport satisfies the non-functional requirements.
|
void |
sendMessage(java.lang.String address,
ISendTask task)
Send a message to the given address.
|
jadex.commons.future.IFuture<java.lang.Void> |
shutdown()
Perform cleanup operations (if any).
|
jadex.commons.future.IFuture<java.lang.Void> |
start()
Start the transport.
|
jadex.commons.future.IFuture<java.lang.Void> start()
jadex.commons.future.IFuture<java.lang.Void> shutdown()
boolean isApplicable(java.lang.String address)
boolean isNonFunctionalSatisfied(java.util.Map<java.lang.String,java.lang.Object> nonfunc, java.lang.String address)
nonfunc
- The non-functional requirements (name, value).address
- The transport address.void sendMessage(java.lang.String address, ISendTask task)
address
- The address to send to.task
- A task representing the message to send.java.lang.String[] getServiceSchemas()
java.lang.String[] getAddresses()