Package blue.starry.penicillin.core.streaming.handler

Types

Link copied to clipboard
class FilterStreamHandler(val client: ApiClient, val listener: FilterStreamListener) : StreamHandler<FilterStreamListener>

Default FilterStream StreamHandler. Accepts listener of FilterStreamListener.

Link copied to clipboard
class LivePipelineHandler(val client: ApiClient, val listener: LivePipelineListener) : StreamHandler<LivePipelineListener>

Default LivePipeline StreamHandler. Accepts listener of LivePipelineListener.

Link copied to clipboard
class SampleStreamHandler(val client: ApiClient, val listener: SampleStreamListener) : StreamHandler<SampleStreamListener>

Default SampleStream StreamHandler. Accepts listener of SampleStreamListener.

Link copied to clipboard
interface StreamHandler<L : StreamListener>

An interface which handles streaming payload JSONs.

Link copied to clipboard
enum UserStreamEvent : Enum<UserStreamEvent>

Represents UserStream event type.

Link copied to clipboard
enum UserStreamEventType : Enum<UserStreamEventType>

Represents UserStream event payload JSON type.

Link copied to clipboard
class UserStreamHandler(val client: ApiClient, val listener: UserStreamListener) : StreamHandler<UserStreamListener>

Default UserStream StreamHandler. Accepts listener of UserStreamListener.