Method | Description | |
---|---|---|
Dispose ( ) : void | ||
Subscribe ( CloverTransportObserver observer ) : void | ||
Unsubscribe ( CloverTransportObserver observer ) : void | ||
sendMessage ( string message ) : int |
Method | Description | |
---|---|---|
EnableLogging ( ) : void | ||
EnablePinging ( int pingSleepSeconds ) : void | ||
LoggingEnabled ( ) : bool | ||
TransportLog ( string msg ) : void | ||
getPingSleepSeconds ( ) : int | ||
onDeviceConnected ( ) : void | ||
onDeviceDisconnected ( ) : void | ||
onDeviceError ( int code, string message ) : void | ||
onDeviceReady ( ) : void | ||
onMessage ( string message ) : void |
Should be called by subclasses when a message is received.
|
protected EnablePinging ( int pingSleepSeconds ) : void | ||
pingSleepSeconds | int | |
return | void |
public Subscribe ( CloverTransportObserver observer ) : void | ||
observer | CloverTransportObserver | |
return | void |
public Unsubscribe ( CloverTransportObserver observer ) : void | ||
observer | CloverTransportObserver | |
return | void |
protected onDeviceError ( int code, string message ) : void | ||
code | int | |
message | string | |
return | void |
protected onMessage ( string message ) : void | ||
message | string | |
return | void |
public abstract sendMessage ( string message ) : int | ||
message | string | |
return | int |