接口 Protocol.ProtocolEventHandler
-
public static interface Protocol.ProtocolEventHandler
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 voidaddListener(Protocol.ProtocolEventListener l)Add listener for this protocol events.voidinvokeListeners(Protocol.ProtocolEventListener.EventType type, Throwable reason)voidremoveListener(Protocol.ProtocolEventListener l)Remove protocol listener.
-
-
-
方法详细资料
-
addListener
void addListener(Protocol.ProtocolEventListener l)
Add listener for this protocol events.- 参数:
l-Protocol.ProtocolEventListenerinstance.
-
removeListener
void removeListener(Protocol.ProtocolEventListener l)
Remove protocol listener.- 参数:
l-Protocol.ProtocolEventListenerinstance.
-
invokeListeners
void invokeListeners(Protocol.ProtocolEventListener.EventType type, Throwable reason)
-
-