fipaos.mts
Interface ExternalMTP

All Superinterfaces:
PostParserService, Service
All Known Implementing Classes:
ExternalMTPBase

public interface ExternalMTP
extends PostParserService

Common interface to a specific transport type - generally an implementation of a FIPA specified transport (hence use for inter-platform communications).

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
 java.util.List getAddresses()
          Method to retreive the protocol dependant addresses of an object that can be used to receive messages.
 java.util.List getProtocols()
          Retreives the protocols known by this comms implementation
 
Methods inherited from interface fipaos.mts.service.PostParserService
incoming, initialise, outgoing
 
Methods inherited from interface fipaos.mts.service.Service
shutdown
 

Method Detail

getAddresses

public java.util.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 java.util.List getProtocols()
Retreives the protocols known by this comms implementation
Returns:
A List of String's