|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.plugin.overnet.net.msg.MessageHandler
public class MessageHandler
Constructor Summary | |
---|---|
MessageHandler()
|
Method Summary | |
---|---|
void |
handle(OvernetMessage msg)
Handles message itself first and then sends it to all listeners. |
void |
subscribe(byte type,
MessageListener listener)
|
void |
unsubscribe(byte type,
MessageListener listener)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MessageHandler()
Method Detail |
---|
public void handle(OvernetMessage msg)
public void subscribe(byte type, MessageListener listener)
public void unsubscribe(byte type, MessageListener listener)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |