ReceivedMessageFromTargetEvent

data class ReceivedMessageFromTargetEvent(sessionId: SessionID, message: String, targetId: TargetID?) : Event

Notifies about a new protocol message received from the session (as reported in attachedToTarget event).

Constructors

ReceivedMessageFromTargetEvent
Link copied to clipboard
fun ReceivedMessageFromTargetEvent(sessionId: SessionID, message: String, targetId: TargetID? = null)

Functions

domain
Link copied to clipboard
open override fun domain(): String
Returns domain name for which event was generated.
eventName
Link copied to clipboard
open override fun eventName(): String
Returns event name as described in protocol.

Properties

message
Link copied to clipboard
val message: String
sessionId
Link copied to clipboard
val sessionId: SessionID
Identifier of a session which sends a message.
targetId
Link copied to clipboard
val targetId: TargetID? = null
Deprecated.

Sources

jvm source
Link copied to clipboard