public class DualDisplayCloverTransport extends CloverTransport
DEVICE_CONNECTED, DEVICE_DISCONNECTED, DEVICE_READY| Constructor and Description |
|---|
DualDisplayCloverTransport(android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeContentClient() |
void |
dispose()
Closes the connection to the underlying transport
|
void |
initializeConnection()
Initializes the connection using the underlying transport
|
int |
sendMessage(java.lang.String message)
Sends the specified encoded message
|
addObserver, getRemoteMessageVersion, notifyDeviceConnected, notifyDeviceDisconnected, notifyDeviceReady, onMessage, removeObserverpublic DualDisplayCloverTransport(android.content.Context context)
public void initializeConnection()
ICloverTransportpublic void dispose()
ICloverTransportdispose in interface ICloverTransportdispose in class CloverTransportpublic void closeContentClient()
public int sendMessage(java.lang.String message)
throws java.nio.channels.NotYetConnectedException
ICloverTransportmessage - encoded message to sendjava.nio.channels.NotYetConnectedException - if the message is sent when the underlying transport is not connected