| Modifier and Type | Method and Description |
|---|---|
void |
addListener(Protocol.ProtocolEventListener l)
Add listener for this protocol events.
|
void |
invokeListeners(Protocol.ProtocolEventListener.EventType type,
Throwable reason) |
void |
removeListener(Protocol.ProtocolEventListener l)
Remove protocol listener.
|
void addListener(Protocol.ProtocolEventListener l)
l - Protocol.ProtocolEventListener instance.void removeListener(Protocol.ProtocolEventListener l)
l - Protocol.ProtocolEventListener instance.void invokeListeners(Protocol.ProtocolEventListener.EventType type, Throwable reason)