Constructors

Link copied to clipboard
protected constructor(eventName: String, libEventType: EventType, eventSelectorType: EventSelectorType, eventSelectorId: String, eventResultClass: KClass<T>)
protected constructor(eventName: String, eventResultClass: KClass<T>)
protected constructor(eventName: String, channelName: String?, libEventType: EventType?, eventSelectorType: EventSelectorType?, eventSelectorId: String?, eventResultClass: KClass<T>)

Types

Link copied to clipboard

Predefined event type to catch collection change events.

Link copied to clipboard
data object ConnectedEvent : EventType<Unit>

Predefined event type that captures successful platform connection events.

Link copied to clipboard
data class ContextCustomEvent(val contextId: String, val channel: String) : EventType<ContextCustomEventData>

Type to register for custom Context Events.

Link copied to clipboard

Returns instance to register for user added to the Context events.

Link copied to clipboard

Returns instance to register for user removed from the Context events.

Link copied to clipboard

Returns instance to register for user status change events.

Link copied to clipboard

Predefined event type to catch disconnection events.

Link copied to clipboard
data class InboxCreatedEvent(val selectorType: InboxEventSelectorType, val selectorId: String) : EventType<Inbox>

Predefined event type to catch created Inbox events.

Link copied to clipboard
data class InboxDeletedEvent(val selectorType: InboxEventSelectorType, val selectorId: String) : EventType<InboxDeletedEventData>

Predefined event type to catch deleted Inbox events.

Link copied to clipboard
data class InboxEntryCreatedEvent(val selectorType: InboxEventSelectorType, val selectorId: String) : EventType<InboxEntry>

Type to register on created entry Events.

Link copied to clipboard

Type to register on deleting entries Events.

Link copied to clipboard
data class InboxUpdatedEvent(val selectorType: InboxEventSelectorType, val selectorId: String) : EventType<Inbox>

Predefined event type to catch update Inbox events.

Link copied to clipboard
data class KvdbCreatedEvent(val contextId: String) : EventType<Kvdb>

Predefined event type to catch created KVDB events.

Link copied to clipboard
data class KvdbDeletedEvent(val selectorType: KvdbEventSelectorType, val selectorId: String) : EventType<KvdbDeletedEventData>

Predefined event type to catch deleted KVDB events.

Link copied to clipboard
data class KvdbEntryDeletedEvent(val selectorType: KvdbEventSelectorType, val selectorId: String) : EventType<KvdbDeletedEntryEventData>

Predefined event type to catch deleted KVDB entries events.

Link copied to clipboard
data class KvdbEntryUpdatedEvent(val selectorType: KvdbEventSelectorType, val selectorId: String) : EventType<KvdbEntry>

Predefined event type to catch updated KVDB entries events.

Link copied to clipboard
data class KvdbNewEntryEvent(val selectorType: KvdbEventSelectorType, val selectorId: String) : EventType<KvdbEntry>

Predefined event type to catch created KVDB entries events.

Link copied to clipboard
data class KvdbStatsChangedEvent(val selectorType: KvdbEventSelectorType, val selectorId: String) : EventType<KvdbStatsEventData>

Predefined event type to catch updated KVDB stats events.

Link copied to clipboard
data class KvdbUpdatedEvent(val selectorType: KvdbEventSelectorType, val selectorId: String) : EventType<Kvdb>

Predefined event type to catch updated KVDB events.

Link copied to clipboard
data object LibBreakEvent : EventType<Unit>

Predefined event type to catch special events. This type could be used to emit/handle events with custom implementations (e.g. to break event loops).

Link copied to clipboard
data class StoreCreatedEvent(val contextId: String) : EventType<Store>

Predefined event type to catch created Store events.

Link copied to clipboard
data class StoreDeletedEvent(val selectorType: StoreEventSelectorType, val selectorId: String) : EventType<StoreDeletedEventData>

Predefined event type to catch deleted Store events.

Link copied to clipboard
data class StoreFileCreatedEvent(val selectorType: StoreEventSelectorType, val selectorId: String) : EventType<File>

Type to register on created file Events.

Link copied to clipboard

Type to register on deleted file Events.

Link copied to clipboard

Type to register on file update Events.

Link copied to clipboard

Predefined event type to catch updated Store stats events.

Link copied to clipboard
data class StoreUpdatedEvent(val selectorType: StoreEventSelectorType, val selectorId: String) : EventType<Store>

Predefined event type to catch updated Store events.

Link copied to clipboard
data class ThreadCreatedEvent(val contextId: String) : EventType<Thread>

Predefined event type to catch created Thread events.

Link copied to clipboard
data class ThreadDeletedEvent(val selectorType: ThreadEventSelectorType, val selectorId: String) : EventType<ThreadDeletedEventData>

Predefined event type to catch deleted Thread events.

Link copied to clipboard

Type to register on deleted message Events.

Link copied to clipboard
data class ThreadMessageUpdatedEvent(val selectorType: ThreadEventSelectorType, val selectorId: String) : EventType<Message>

Type to register on message update Events.

Link copied to clipboard
data class ThreadNewMessageEvent(val selectorType: ThreadEventSelectorType, val selectorId: String) : EventType<Message>

Type to register on new message Events.

Link copied to clipboard
data class ThreadStatsChangedEvent(val selectorType: ThreadEventSelectorType, val selectorId: String) : EventType<ThreadStatsEventData>

Predefined event type to catch updated Thread stats events.

Link copied to clipboard
data class ThreadUpdatedEvent(val selectorType: ThreadEventSelectorType, val selectorId: String) : EventType<Thread>

Predefined event type to catch updated Thread events.

Properties

Link copied to clipboard

Channel name for a ContextCustomEvent, otherwise null for other event types.

Link copied to clipboard

Name of the event related to this EventType.

Link copied to clipboard

Type of the event data.

Link copied to clipboard

Id of the chosen selector.

Link copied to clipboard

Scope in which you listen for events.

Link copied to clipboard

The type of event to listen for.