Page Summary
-
This class, Connections.ConnectionRequestListener, is deprecated and should be replaced by ConnectionLifecycleCallback.
-
It serves as a listener for when a remote endpoint requests a connection to a local endpoint.
-
The class has one public method, onConnectionRequest, which is called when a connection request is received and provides details about the remote endpoint.
This class is 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 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. |