Connections.ConnectionRequestListener

public static abstract class Connections.ConnectionRequestListener extends Object

This class was deprecated.
Use ConnectionLifecycleCallback instead.

Listener invoked when a remote endpoint requests a connection to a local endpoint.

Public Constructor Summary

Public Method Summary

void
onConnectionRequest(String remoteEndpointId, String remoteEndpointName, byte[] handshakeData)
Called when a remote endpoint requests a connection to a local endpoint.

Inherited Method Summary

Public Constructors

public Connections.ConnectionRequestListener ()

Public Methods

public void onConnectionRequest (String remoteEndpointId, String remoteEndpointName, byte[] handshakeData)

Called when a remote endpoint requests a connection to a local endpoint.

Parameters
remoteEndpointId The ID of the remote endpoint requesting a connection.
remoteEndpointName The human readable name of the remote endpoint.
handshakeData Bytes of a custom message sent with the connection request.