Transport
This class defines the interface for transport that must be implemented to represent the creation and management of an interface.
Functions
Link copied to clipboard
Disconnect from DeviceGateway.
Link copied to clipboard
Link copied to clipboard
Returns whether this object is currently connected to DeviceGateway.
Link copied to clipboard
Returns whether this object is currently connecting or connected to DeviceGateway.
Link copied to clipboard
abstract fun newCall( activeTransport: Transport?, request: MessageRequest, headers: Map<String, String>?, listener: MessageSender.OnSendMessageListener): Call
Content copied to clipboard
Link copied to clipboard
The server can send some directives at certain times.
Link copied to clipboard
Stop receiving server-initiated-directive.