Information about a connection that is being initiated.
Public Constructor Summary
Public Method Summary
String |
getAuthenticationToken()
A short human-readable authentication token that has been given to both
devices.
|
byte[] |
getEndpointInfo()
Information that represents the remote device.
|
String |
getEndpointName()
The name of the remote device we're connecting to.
|
byte[] |
getRawAuthenticationToken()
The raw (significantly longer) version of the authentication token from
getAuthenticationToken() -- this is intended for headless
authentication, typically on devices with no output capabilities, where the
authentication is purely programmatic and does not have the luxury of human
intervention.
|
boolean |
isConnectionVerified()
True if the connection has been verified by internal verification mechanisms.
|
boolean |
isIncomingConnection()
True if the connection request was initated from a remote device.
|
Inherited Method Summary
Public Constructors
Public Methods
public String getAuthenticationToken ()
A short human-readable authentication token that has been given to both devices.
public byte[] getEndpointInfo ()
Information that represents the remote device.
public String getEndpointName ()
The name of the remote device we're connecting to.
public byte[] getRawAuthenticationToken ()
The raw (significantly longer) version of the authentication token from
getAuthenticationToken()
-- this is intended for headless authentication,
typically on devices with no output capabilities, where the authentication is purely
programmatic and does not have the luxury of human intervention.
public boolean isConnectionVerified ()
True if the connection has been verified by internal verification mechanisms.
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.