Class EventPollerConfiguration
java.lang.Object
com.github.jamesnetherton.zulip.client.api.event.EventPollerConfiguration
Configuration items for the
EventPoller.-
Method Summary
Modifier and TypeMethodDescriptionNarrow[]booleanvoidsetAllPublicStreams(boolean allPublicStreams) Sets whether to request message events from all public channels.voidsetEventListenerExecutorService(ExecutorService eventListenerExecutorService) Sets a custom executor to use for processing message events.voidsetNarrows(Narrow[] narrows) Sets theNarrowexpressions to filter which message events are captured.
-
Method Details
-
getListener
-
getClient
-
getNarrows
-
setNarrows
Sets theNarrowexpressions to filter which message events are captured.- Parameters:
narrows- The narrow expression message filter
-
getEventListenerExecutorService
-
setEventListenerExecutorService
Sets a custom executor to use for processing message events.- Parameters:
eventListenerExecutorService- CustomExecutorServiceto use for message event listener execution
-
isAllPublicStreams
public boolean isAllPublicStreams() -
setAllPublicStreams
public void setAllPublicStreams(boolean allPublicStreams) Sets whether to request message events from all public channels.- Parameters:
allPublicStreams-trueto request message events from all public channels.falseto not include message events from all public channels
-