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, removeObserver
public DualDisplayCloverTransport(android.content.Context context)
public void initializeConnection()
ICloverTransport
public void dispose()
ICloverTransport
dispose
in interface ICloverTransport
dispose
in class CloverTransport
public void closeContentClient()
public int sendMessage(java.lang.String message) throws java.nio.channels.NotYetConnectedException
ICloverTransport
message
- encoded message to sendjava.nio.channels.NotYetConnectedException
- if the message is sent when the underlying transport is not connected