orbit-server / orbit.server.net / ConnectionManager

ConnectionManager

class ConnectionManager

Constructors

<init>

ConnectionManager(runtimeScopes: RuntimeScopes, clusterManager: ClusterManager, localNodeInfo: LocalNodeInfo, authSystem: AuthSystem, container: ComponentContainer)

Functions

getClient

fun getClient(nodeId: NodeId): ClientConnection?

onNewClient

fun onNewClient(nodeId: NodeId, incomingChannel: ReceiveChannel<MessageProto>, outgoingChannel: SendChannel<MessageProto>): Unit