A transport. More...
Public Member Functions | |
abstract void | addOnReceive (fm.liveswitch.IAction1< fm.liveswitch.DataBuffer > value) |
Adds a handler that is raised when data is received. More... | |
abstract boolean | getIsClosed () |
Gets a value indicating whether this instance is closed. More... | |
abstract int | getNextTransportSequenceNumber () |
Gets the next Transport-Wide Sequence Number. More... | |
int | getRoundTripTime () |
Gets the current round-trip-time in milliseconds. More... | |
abstract void | removeOnReceive (fm.liveswitch.IAction1< fm.liveswitch.DataBuffer > value) |
Removes a handler that is raised when data is received. More... | |
abstract void | send (fm.liveswitch.DataBuffer buffer) |
Sends the specified buffer. More... | |
Public Member Functions inherited from fm.liveswitch.Dynamic | |
java.util.HashMap< String, Object > | getDynamicProperties () |
Gets all dynamic properties on this instance. More... | |
Object | getDynamicValue (String key) |
Gets a property value from the local cache. More... | |
void | setDynamicValue (String key, Object value) |
Sets a property value in the local cache. More... | |
boolean | unsetDynamicValue (String key) |
Removes a property value from the local cache. More... | |
Protected Member Functions | |
Transport () | |
Protected Member Functions inherited from fm.liveswitch.Dynamic | |
Dynamic () | |
Protected Member Functions inherited from fm.liveswitch.Serializable | |
boolean | getIsDirty () |
Gets a value indicating whether this instance is dirty. More... | |
Serializable () | |
Initializes a new instance of the fm.liveswitch.Serializable class. More... | |
void | setIsDirty (boolean value) |
Sets a value indicating whether this instance is dirty. More... | |
A transport.
|
protected |
|
abstract |
Adds a handler that is raised when data is received.
|
abstract |
Gets a value indicating whether this instance is closed.
|
abstract |
Gets the next Transport-Wide Sequence Number.
Values ranger between -2^16 and 2^16 and wrap around.
int fm.liveswitch.Transport.getRoundTripTime | ( | ) |
Gets the current round-trip-time in milliseconds.
|
abstract |
Removes a handler that is raised when data is received.
|
abstract |
Sends the specified buffer.
buffer | The buffer. |