Data channel interface. More...
Public Member Functions | |
abstract void | addOnStateChange (fm.liveswitch.IAction1< TDataChannel > value) |
Adds a handler that is raised when the state changes. More... | |
abstract String | getId () |
Gets the data channel identifier. More... | |
abstract fm.liveswitch.DataChannelInfo | getInfo () |
Gets the data channel info. More... | |
abstract boolean | getIsInternal () |
Gets a value indicating if this is an internal data channel. More... | |
abstract String | getLabel () |
Gets the label. More... | |
abstract fm.liveswitch.IAction1< fm.liveswitch.DataChannelReceiveArgs > | getOnReceive () |
Gets the callback to execute when a message is received. More... | |
abstract boolean | getOrdered () |
Gets a value indicating whether messages will be delivered in the order they are sent. More... | |
abstract fm.liveswitch.DataChannelState | getState () |
Gets the state. More... | |
abstract String | getSubprotocol () |
Gets the subprotocol. More... | |
abstract void | removeOnStateChange (fm.liveswitch.IAction1< TDataChannel > value) |
Removes a handler that is raised when the state changes. More... | |
abstract fm.liveswitch.Future< Object > | sendDataBytes (fm.liveswitch.DataBuffer dataBytes) |
Sends a byte array. More... | |
abstract fm.liveswitch.Future< Object > | sendDataString (String dataString) |
Sends a string. More... | |
abstract void | setOnReceive (fm.liveswitch.IAction1< fm.liveswitch.DataChannelReceiveArgs > value) |
Sets the callback to execute when a message is received. More... | |
Data channel interface.
|
abstract |
Adds a handler that is raised when the state changes.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Gets the data channel identifier.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Gets the data channel info.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Gets a value indicating if this is an internal data channel.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Gets the label.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Gets the callback to execute when a message is received.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Gets a value indicating whether messages will be delivered in the order they are sent.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Gets the state.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Gets the subprotocol.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Removes a handler that is raised when the state changes.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Sends a byte array.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Sends a string.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.
|
abstract |
Sets the callback to execute when a message is received.
Implemented in fm.liveswitch.DataChannelBase< TDataChannel >.