UM Java API  6.16
com.latencybusters.lbm.LBMSerializedResponse Class Reference

Public Member Functions

byte[] getBytes ()
void copyBytes (byte[] src, int srcPos)

Static Public Attributes

static final int SERIAL_RESPONSE_LENGTH = 32

Protected Member Functions

boolean isPopulated ()
void setPopulated (boolean value)

Detailed Description

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

Member Function Documentation

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
srcThe source byte[] containing the serialized response information as binary data to load into this object
srcPosThe 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.

byte[] the serialized response information as binary data

The documentation for this class was generated from the following file: