|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--gumbo.net.msg.MessageHandler
A message listener that can be queried for the type(s) of messages that it can listen for.
| Constructor Summary | |
MessageHandler(java.lang.Class type)
|
|
MessageHandler(java.util.Collection types)
|
|
| Method Summary | |
java.util.Set |
getMessageTypes()
Gets an immutable view of the message type(s) handled by this handler. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gumbo.net.msg.MessageListener |
processMessage |
| Constructor Detail |
public MessageHandler(java.lang.Class type)
type - Message type. Never null.public MessageHandler(java.util.Collection types)
types - Message types (Class). Never null or empty.| Method Detail |
public java.util.Set getMessageTypes()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||