NwConnectionOpened

data class NwConnectionOpened(val connectionId: NwConnectionId, val endpoint: NwEndpoint?)

A connection was established on connectionId.

endpoint is the endpoint that was dialled when this connection was opened via NwApi.connect (join role). It is null for a connection accepted while listening (host role) — an inbound connection has no dialled endpoint.

Constructors

Link copied to clipboard
constructor(connectionId: NwConnectionId, endpoint: NwEndpoint?)

Properties

Link copied to clipboard
Link copied to clipboard