|
static final int | SERIAL_RESPONSE_LENGTH = 32 |
|
|
boolean | isPopulated () |
|
void | setPopulated (boolean value) |
|
LBM SerializedResponse class. This class should be created and and then passed to the LBMMessage getSerializedResponse method so that it can be populated with the serialized data that can then be used by another application to send the response by using the LBMContext respond method.
- See also
- LBMMessage::getSerializedResponse
-
LBMContext::respond
void com.latencybusters.lbm.LBMSerializedResponse.copyBytes |
( |
byte[] |
src, |
|
|
int |
srcPos |
|
) |
| |
Copies a byte[] containing serialized response information into this object so that it can be used by the LBMContext respond method. It will copy a length of LBMSerializedResponse.SERIAL_RESPONSE_LENGTH from the src parameter starting at the srcPos.
- See also
- LBMContext::respond
- Parameters
-
src | The source byte[] containing the serialized response information as binary data to load into this object |
srcPos | The starting offset in the source byte[] which is normally 0 |
byte [] com.latencybusters.lbm.LBMSerializedResponse.getBytes |
( |
| ) |
|
Gets the bytes representing the serialized response information which can be sent to and used by another application.
- Returns
- byte[] the serialized response information as binary data
The documentation for this class was generated from the following file:
- LBMSerializedResponse.java