T
- the type parameterpublic interface RemoteDeviceConnection<T>
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes connection to the device.
|
boolean |
connect()
sends connection request to the device.
|
T |
getDevice()
Gets remote device that the connection is established with.
|
boolean |
isAuthenticated()
Provides information whether the remote device has been authenticated.
|
boolean |
isConnected()
Provides information whether connection is established to the device.
|
boolean connect()
void close()
boolean isConnected()
boolean isAuthenticated()
T getDevice()