| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
fipaos.mts.MTPBase | +--fipaos.mts.InternalMTPBase | +--fipaos.mts.http.internal.HTTPComms
This class is a Comms implementation which offers support for HTTP.
Field Summary | |
(package private) MessageReceiver | receiver |
Fields inherited from class fipaos.mts.MTPBase |
_shutdown, ACC_NAME |
Constructor Summary | |
HTTPComms(String name, URL ns) Comms initialiser |
Method Summary | |
void | failure(String reason, Message msg) Indicates failure when receiving a message. |
List | getAddresses() Method to retreive the protocol dependant address of an object that can be used to receive messages. |
MessageReceiver | getMessageReceiver() |
List | getProtocols() Retreives the protocols known by this comms implementation |
void | handleMessage(Message msg) |
void | incoming(String envelope, String envmime, ACL acl) Accept incoming envelope and message. |
Object | lookupComms(String name) Attempt to lookup a reference to the MessageReceiver belonging to the given Agent |
Object | lookupName(String name) Attempt to lookup a reference to the MessageReceiver belonging to the given Agent |
void | setMessageReceiver(MessageReceiver r) |
void | shutdown() This should be invoked when the transport should be safely shutdown |
Methods inherited from class fipaos.mts.InternalMTPBase |
incoming, initialise, main, outgoing |
Field Detail |
MessageReceiver receiver
Constructor Detail |
public HTTPComms(String name, URL ns)
throws fipaos.mts.InitialisationException
Method Detail |
public void failure(String reason, Message msg)
public List getAddresses()
public MessageReceiver getMessageReceiver()
public List getProtocols()
public void handleMessage(Message msg)
public void incoming(String envelope, String envmime, ACL acl)
public Object lookupComms(String name)
public Object lookupName(String name)
public void setMessageReceiver(MessageReceiver r)
public void shutdown()
Association Links |
to Class java.lang.String
to Class fipaos.mts.http.internal.HTTPTransport
to Class fipaos.util.URL
to Class fipaos.mts.MessageReceiver
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |