buildSubscriptionQuery

expect fun buildSubscriptionQuery(eventType: ThreadEventType, selectorType: ThreadEventSelectorType, selectorId: String): String

Generate subscription Query for the Thread events.

Return

Query for subscribing event

Parameters

eventType

type of event you listen for

selectorType

scope on which you listen for events

selectorId

ID of the selector

Throws

thrown when instance is closed.

thrown when method encounters an exception.

thrown when method encounters an unknown exception.

actual fun buildSubscriptionQuery(eventType: ThreadEventType, selectorType: ThreadEventSelectorType, selectorId: String): String

Generate subscription Query for the Thread events.

Return

Query for subscribing event

Parameters

eventType

type of event you listen for

selectorType

scope on which you listen for events

selectorId

ID of the selector

Throws

thrown when instance is closed.

thrown when method encounters an exception.

thrown when method encounters an unknown exception.

actual fun buildSubscriptionQuery(eventType: ThreadEventType, selectorType: ThreadEventSelectorType, selectorId: String): String

Generate subscription Query for the Thread events.

Return

Query for subscribing event

Parameters

eventType

type of event you listen for

selectorType

scope on which you listen for events

selectorId

ID of the selector

Throws

thrown when instance is closed.

thrown when method encounters an exception.

thrown when method encounters an unknown exception.