fipaos.mts.httpMTP
Class HTTPComms

fipaos.mts.MTPBase
  |
  +--fipaos.mts.ExternalMTPBase
        |
        +--fipaos.mts.httpMTP.HTTPComms

public class HTTPComms
extends ExternalMTPBase
implements CallBack


Fields inherited from class fipaos.mts.MTPBase
_shutdown, ACC_NAME

Constructor Summary
HTTPComms(String our_name, fipaos.util.URL ns_url)
          Comms initialiser

Method Summary
 ListgetAddresses()
           
 ListgetProtocols()
          Provides information regarding the Protocol(s) that this MTP can support.
 voidincomingCall(Envelope env, byte[] msg)
           
 voidshutdown()
          Invoked to safely shut down the Comms and to release any resources

Methods inherited from class fipaos.mts.ExternalMTPBase
incoming, initialise, main, outgoing

Constructor Detail

HTTPComms

public HTTPComms(String our_name, fipaos.util.URL ns_url)
throws fipaos.mts.InitialisationException
Comms initialiser
Parameters:
our_name - The name of the Agent
ns_url - URL for the transport
Method Detail

getAddresses

public List getAddresses()

getProtocols

public List getProtocols()
Provides information regarding the Protocol(s) that this MTP can support.
Returns: List containing the Protocols supported by this transport

incomingCall

public void incomingCall(Envelope env, byte[] msg)

shutdown

public void shutdown()
Invoked to safely shut down the Comms and to release any resources

Association Links

to Class java.lang.String

Transport specific protocol type

to Class fipaos.mts.httpMTP.HTTPTransportService