public interface IoTizeClientInterface
| Modifier and Type | Method and Description |
|---|---|
void |
connect() |
void |
disconnect() |
void |
enableEncryption(boolean enabled) |
ComProtocol |
getComProtocol() |
ConnectionState |
getConnectionState() |
EncryptionAlgo |
getEncryptionAlgo() |
boolean |
isConnected() |
byte[] |
send(byte[] data) |
<T> Response<T> |
send(Command command) |
void |
setEncryptionAlgo(EncryptionAlgo algo) |
<T> Response<T> send(Command command) throws DeviceClientException
DeviceClientExceptionbyte[] send(byte[] data)
throws java.lang.Exception
java.lang.Exceptionvoid disconnect()
throws java.lang.Exception
java.lang.Exceptionvoid connect()
throws java.lang.Exception
java.lang.Exceptionvoid setEncryptionAlgo(EncryptionAlgo algo)
EncryptionAlgo getEncryptionAlgo()
void enableEncryption(boolean enabled)
throws DeviceClientException
DeviceClientExceptionboolean isConnected()
ComProtocol getComProtocol()
@NonNull ConnectionState getConnectionState()