| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Contains the abstract functionality that all MTP's require in order to
deal with messages - increases code-reuse in MTP implementations
$Revision: 1.10 $ $Date: 2001/04/05 14:54:50 $ $Author: alantreadway $
Field Summary | |
boolean | _shutdown Indicates if this MTP has been shutdown |
static String | ACC_NAME Default name that the ACC binds to the NS using |
Method Summary | |
abstract java.util.List | getProtocols() Retreives the protocols known by this comms implementation |
static void | main(String[] args) |
(package private) abstract void | receive(Envelope envelope, Object msg) Invoked when a message is received - subclasses should implement this to deal with incoming messages (i.e. |
(package private) abstract void | send(Object target, Envelope envelope, Object msg) Send the given message to the given target - the target is the result of a call to one of the lookup() methods |
Field Detail |
public boolean _shutdown
public static String ACC_NAME
Method Detail |
public abstract java.util.List getProtocols()
public static void main(String[] args)
throws java.lang.Throwable
abstract void receive(Envelope envelope, Object msg)
abstract void send(Object target, Envelope envelope, Object msg)
throws UnknownTargetException,
UnknownProtocolException,
UnableToSendException
Association Links |
to Class fipaos.util.URL
to Class java.lang.String
to Class java.lang.String
to Class fipaos.util.Queue
to Class fipaos.util.Monitor
to Class java.util.Map
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |