ConnectionInfo

public final class ConnectionInfo extends Object

Information about a connection that is being initiated.

Public Constructor Summary

ConnectionInfo(String endpointName, String authenticationToken, boolean isIncomingConnection)

Public Method Summary

String
getAuthenticationToken()
A small symmetrical token that has been given to both devices.
String
getEndpointName()
The name of the remote device we're connecting to.
boolean
isIncomingConnection()
True if the connection request was initated from a remote device.

Inherited Method Summary

Public Constructors

public ConnectionInfo (String endpointName, String authenticationToken, boolean isIncomingConnection)

Public Methods

public String getAuthenticationToken ()

A small symmetrical token that has been given to both devices.

public String getEndpointName ()

The name of the remote device we're connecting to.

public boolean isIncomingConnection ()

True if the connection request was initated from a remote device. False if this device was the one to try and initiate the connection.