com.latencybusters.lbm.LBMApplicationHeaderChainElement.LBMApplicationHeaderChainElement |
( |
| ) |
|
byte [] com.latencybusters.lbm.LBMApplicationHeaderChainElement.getData |
( |
| ) |
|
Get the data associated with this application header element.
- Returns
- Application header element data. The length of the data array is always a multiple of four. For example, if [57,57] is sent, the received byte array is [57,57,0,0].
- Since
- UMQ 1.1
short com.latencybusters.lbm.LBMApplicationHeaderChainElement.getSubtype |
( |
| ) |
|
Get the user-settable subtype of the application header element.
- Returns
- A short representing the user-settable subtype of the application header element.
- Since
- UMQ 1.1
byte com.latencybusters.lbm.LBMApplicationHeaderChainElement.getType |
( |
| ) |
|
Returns the application header element's type. The only currently supported type is LBM#CHAIN_ELEM_USER_DATA.
- Returns
- A byte representing the type of application header element.
- Since
- UMQ 1.1
void com.latencybusters.lbm.LBMApplicationHeaderChainElement.setData |
( |
byte[] |
data | ) |
|
Set the data byte array to be sent with this application header element.
NOTE: Application header element data payloads are currently limited in length to 196 bytes or less.
- Parameters
-
data | The data byte array to send with this application header element. |
- Since
- UMQ 1.1
void com.latencybusters.lbm.LBMApplicationHeaderChainElement.setSubtype |
( |
short |
subtype | ) |
|
Sets the subtype of the application header element. Subtypes can be any positive number representable by a short. It's up to the user application to assign meaning to and interpret the subtype field.
- Parameters
-
subtype | The subtype to set this application header element to. |
- Since
- UMQ 1.1
void com.latencybusters.lbm.LBMApplicationHeaderChainElement.setType |
( |
byte |
type | ) |
throws LBMEInvalException |
The documentation for this class was generated from the following file:
- LBMApplicationHeaderChainElement.java