T
- the type of the delegate to which the notifications are to be
forwardedprivate abstract static class EventDispatcher.MessageTypeEventHandler<T> extends Object implements MessageEventHandler
Modifier and Type | Field and Description |
---|---|
T |
delegate
The Object for which this instance implements
MessageEventHandler.
|
char |
messageType
The type of the STUN messages that this MessageEventHandler
is interested in.
|
Constructor and Description |
---|
MessageTypeEventHandler(char messageType,
T delegate)
Initializes a new MessageTypeEventHandler which is to
forward STUN messages with a specific type to a specific handler.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Determines whether a specific Object is value equal to this
Object.
|
int |
hashCode()
Returns a hash code value for this Object for the benefit of
hashtables.
|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
handleMessageEvent
public final T delegate
public final char messageType
public MessageTypeEventHandler(char messageType, T delegate)
messageType
- the type of the STUN messages that the new
instance is to forward to the specified handler delegatedelegate
- the handler to which the new instance is to forward
STUN messages with the specified messageTypepublic boolean equals(Object obj)
Copyright © 2018. All rights reserved.