Package septogeddon.pluginquery
Class QueryEventBusImpl
java.lang.Object
septogeddon.pluginquery.QueryEventBusImpl
- All Implemented Interfaces:
QueryEventBus
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddParent(QueryEventBus eventBus) Add parent that listen to this event managervoiddispatchConnectionState(QueryConnection connection) Dispatch a Connection State change eventvoiddispatchMessage(QueryConnection connection, String channel, byte[] message) Dispatch a Query Message received eventvoidregisterListener(QueryListener listener) Register a listenervoidremoveParent(QueryEventBus eventBus) Remove a parent, become an orphanvoidunregisterListener(QueryListener listener) Unregister a listenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface septogeddon.pluginquery.api.QueryEventBus
registerListener, registerListener
-
Constructor Details
-
QueryEventBusImpl
public QueryEventBusImpl()
-
-
Method Details
-
registerListener
Description copied from interface:QueryEventBusRegister a listener- Specified by:
registerListenerin interfaceQueryEventBus- Parameters:
listener-
-
unregisterListener
Description copied from interface:QueryEventBusUnregister a listener- Specified by:
unregisterListenerin interfaceQueryEventBus- Parameters:
listener-
-
addParent
Description copied from interface:QueryEventBusAdd parent that listen to this event manager- Specified by:
addParentin interfaceQueryEventBus- Parameters:
eventBus-
-
removeParent
Description copied from interface:QueryEventBusRemove a parent, become an orphan- Specified by:
removeParentin interfaceQueryEventBus- Parameters:
eventBus-
-
dispatchMessage
Description copied from interface:QueryEventBusDispatch a Query Message received event- Specified by:
dispatchMessagein interfaceQueryEventBus- Parameters:
connection-channel-message-
-
dispatchConnectionState
Description copied from interface:QueryEventBusDispatch a Connection State change event- Specified by:
dispatchConnectionStatein interfaceQueryEventBus- Parameters:
connection-
-