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
DeviceClientException
byte[] send(byte[] data) throws java.lang.Exception
java.lang.Exception
void disconnect() throws java.lang.Exception
java.lang.Exception
void connect() throws java.lang.Exception
java.lang.Exception
void setEncryptionAlgo(EncryptionAlgo algo)
EncryptionAlgo getEncryptionAlgo()
void enableEncryption(boolean enabled) throws DeviceClientException
DeviceClientException
boolean isConnected()
ComProtocol getComProtocol()
@NonNull ConnectionState getConnectionState()