jadex.standalone.transport
Interface ITransport

All Known Implementing Classes:
LocalTransport, NIOTCPTransport, TCPTransport

public interface ITransport

Interface for Jadex Standalone transports.


Field Summary
static String PORT
          The receiving port (if any).
 
Method Summary
 String[] getAddresses()
          Get the adresses of this transport.
 String getServiceSchema()
          Returns the prefix of this transport
 IComponentIdentifier[] sendMessage(Map message, String msgtype, IComponentIdentifier[] receivers)
          Send a message.
 void shutdown()
          Perform cleanup operations (if any).
 void start()
          Start the transport.
 

Field Detail

PORT

static final String PORT
The receiving port (if any).

See Also:
Constant Field Values
Method Detail

start

void start()
Start the transport.


shutdown

void shutdown()
Perform cleanup operations (if any).


sendMessage

IComponentIdentifier[] sendMessage(Map message,
                                   String msgtype,
                                   IComponentIdentifier[] receivers)
Send a message.

Parameters:
message - The message to send.
Returns:
The component identifiers to which this message could not be delivered.

getServiceSchema

String getServiceSchema()
Returns the prefix of this transport

Returns:
Transport prefix.

getAddresses

String[] getAddresses()
Get the adresses of this transport.

Returns:
An array of strings representing the addresses of this message transport mechanism.


Copyright © 2010. All Rights Reserved.