Package com.slack.api.rtm
Interface RTMEventsDispatcher
-
- All Known Implementing Classes:
RTMEventsDispatcherImpl
public interface RTMEventsDispatcher
Real Time Messaging API requests dispatcher.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
deregister(RTMEventHandler<? extends Event> handler)
Removes a EventHandler.void
dispatch(String json)
Dispatches requests to appropriate event handlers.void
register(RTMEventHandler<? extends Event> handler)
Registers a new EventHandler.RTMMessageHandler
toMessageHandler()
Converts this dispatcher toRTMMessageHandler
.
-
-
-
Method Detail
-
register
void register(RTMEventHandler<? extends Event> handler)
Registers a new EventHandler.
-
deregister
void deregister(RTMEventHandler<? extends Event> handler)
Removes a EventHandler.
-
dispatch
void dispatch(String json)
Dispatches requests to appropriate event handlers.
-
toMessageHandler
RTMMessageHandler toMessageHandler()
Converts this dispatcher toRTMMessageHandler
.
-
-