|
|||||||||
| Home >> All >> org >> zazof >> [ jtegServer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.zazof.jtegServer
Class Protocol

java.lang.Objectorg.zazof.jtegServer.Protocol
- Direct Known Subclasses:
- ProtocolVersion3
- public class Protocol
- extends java.lang.Object
This class defines a protocol as a set of MessageHandler objects
| Field Summary | |
private java.util.Hashtable |
$mhs
|
(package private) static org.apache.log4j.Category |
log
|
| Constructor Summary | |
Protocol()
|
|
| Method Summary | |
void |
addMessageHandler(java.lang.String messageID,
MessageHandler mh)
adds a MessageHandler to this protocol. |
(package private) void |
handle(Message m)
processes the message |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
$mhs
private java.util.Hashtable $mhs
log
static org.apache.log4j.Category log
| Constructor Detail |
Protocol
public Protocol()
| Method Detail |
addMessageHandler
public void addMessageHandler(java.lang.String messageID, MessageHandler mh)
- adds a MessageHandler to this protocol.
handle
void handle(Message m)
- processes the message
|
|||||||||
| Home >> All >> org >> zazof >> [ jtegServer overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.zazof.jtegServer.Protocol