MessageEndpoint

actual constructor(uid: String, target: Any?, protocolType: ProtocolType, delegate: MessageEndpointDelegate)(source)
expect constructor(uid: String, target: Any?, protocolType: ProtocolType, delegate: MessageEndpointDelegate)(source)

Initializes a MessageEndpoint object.

Parameters

uid

the unique identifier of the endpoint

target

an optional arbitrary object that represents the endpoint

protocolType

the data transportation protocol

delegate

the delegate for creating MessageEndpointConnection objects

actual constructor(uid: String, target: Any?, protocolType: <Error class: unknown class>, delegate: MessageEndpointDelegate)(source)
actual constructor(uid: String, target: Any?, protocolType: ProtocolType, delegate: MessageEndpointDelegate)(source)