open

abstract fun open(connection: ReplicatorConnection, completion: MessagingCompletion)(source)

Called to open a remote connection to the other peer when the replicator starts or when the MessageEndpointListener accepts the connection. When the remote connection is established, call the completion block to acknowledge the completion.

Parameters

connection

the replicator connection

completion

the completion callback