fipaos.mts
Interface InternalMTP

All Known Implementing Classes:
InternalMTPBase

public interface InternalMTP
extends PreParserService

Common interface to a specific transport type - generally a proprietory transport (hence provides an intra-platform communication protocol)

Semantics of outgoing() (inehrited from PostParserService) are as follows:

In the event that a failure occurs, Envelope.setErrorCode() should be used to set the appropriate error condition, and the message propogated back up the stack (via the incoming() method of the previous Service in the comms stack)


Fields inherited from interface fipaos.mts.service.Service
ACL_LANGUAGE_UNKNOWN, CONTENT_LANGUAGE_UNKNOWN, ERROR_STRING, ERROR_UNKNOWN, FIPAOS_DEBUG, FIPAOS_MSG_ID_SLOT, MALFORMED_ENVELOPE, MSG_DELIVERY_FAILURE_REASON, NONE, PROTOCOL_UNKNOWN, TARGET_UNKNOWN

Method Summary
 ListgetAddresses()
          Method to retreive the protocol dependant addresses of an object that can be used to receive messages.
 ListgetProtocols()
          Retreives the protocols known by this comms implementation

Methods inherited from interface fipaos.mts.service.PreParserService
incoming, initialise, outgoing

Methods inherited from interface fipaos.mts.service.Service
shutdown

Method Detail

getAddresses

public List getAddresses()
Method to retreive the protocol dependant addresses of an object that can be used to receive messages.
Returns: A List containing the required addresses, or null if this Comms doesn't publish such an object

getProtocols

public List getProtocols()
Retreives the protocols known by this comms implementation
Returns: A List of String's