Class EventPollerConfiguration
java.lang.Object
com.github.jamesnetherton.zulip.client.api.event.EventPollerConfiguration
Configuration items for the
EventPoller
.-
Method Summary
Modifier and TypeMethodDescriptionNarrow[]
boolean
void
setAllPublicStreams
(boolean allPublicStreams) Sets whether to request message events from all public channels.void
setEventListenerExecutorService
(ExecutorService eventListenerExecutorService) Sets a custom executor to use for processing message events.void
setNarrows
(Narrow[] narrows) Sets theNarrow
expressions to filter which message events are captured.
-
Method Details
-
getListener
-
getClient
-
getNarrows
-
setNarrows
Sets theNarrow
expressions 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
- CustomExecutorService
to 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
-true
to request message events from all public channels.false
to not include message events from all public channels
-