Package septogeddon.pluginquery
Class QueryEventBusImpl
java.lang.Object
septogeddon.pluginquery.QueryEventBusImpl
- All Implemented Interfaces:
QueryEventBus
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addParent
(QueryEventBus eventBus) Add parent that listen to this event managervoid
dispatchConnectionState
(QueryConnection connection) Dispatch a Connection State change eventvoid
dispatchMessage
(QueryConnection connection, String channel, byte[] message) Dispatch a Query Message received eventvoid
registerListener
(QueryListener listener) Register a listenervoid
removeParent
(QueryEventBus eventBus) Remove a parent, become an orphanvoid
unregisterListener
(QueryListener listener) Unregister a listenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface septogeddon.pluginquery.api.QueryEventBus
registerListener, registerListener
-
Constructor Details
-
QueryEventBusImpl
public QueryEventBusImpl()
-
-
Method Details
-
registerListener
Description copied from interface:QueryEventBus
Register a listener- Specified by:
registerListener
in interfaceQueryEventBus
- Parameters:
listener
-
-
unregisterListener
Description copied from interface:QueryEventBus
Unregister a listener- Specified by:
unregisterListener
in interfaceQueryEventBus
- Parameters:
listener
-
-
addParent
Description copied from interface:QueryEventBus
Add parent that listen to this event manager- Specified by:
addParent
in interfaceQueryEventBus
- Parameters:
eventBus
-
-
removeParent
Description copied from interface:QueryEventBus
Remove a parent, become an orphan- Specified by:
removeParent
in interfaceQueryEventBus
- Parameters:
eventBus
-
-
dispatchMessage
Description copied from interface:QueryEventBus
Dispatch a Query Message received event- Specified by:
dispatchMessage
in interfaceQueryEventBus
- Parameters:
connection
-channel
-message
-
-
dispatchConnectionState
Description copied from interface:QueryEventBus
Dispatch a Connection State change event- Specified by:
dispatchConnectionState
in interfaceQueryEventBus
- Parameters:
connection
-
-