fipaos.mts
Interface ExternalMTP

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, NONE, PROTOCOL_UNKNOWN, TARGET_UNKNOWN

Method Summary
 URLgetAddress()
          Method to retreive the protocol dependant address 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.PostParserService
incoming, initialise, outgoing

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

Method Detail

getAddress

public URL getAddress()
Method to retreive the protocol dependant address of an object that can be used to receive messages.
Returns: A String containing the required address, 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