|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.latencybusters.lbm.LBMApplicationHeaderChainElement
public class LBMApplicationHeaderChainElement
| Constructor Summary | |
|---|---|
LBMApplicationHeaderChainElement()
Create a new LBMApplicationHeaderChainElement object that can be added to a LBMApplicationHeaderChain. |
|
| Method Summary | |
|---|---|
byte[] |
getData()
Get the data associated with this application header element. |
short |
getSubtype()
Get the user-settable subtype of the application header element. |
byte |
getType()
Returns the application header element's type. |
void |
setData(byte[] data)
Set the data byte array to be sent with this application header element. |
void |
setSubtype(short subtype)
Sets the subtype of the application header element. |
void |
setType(byte type)
Sets this application header element's type. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LBMApplicationHeaderChainElement()
LBMApplicationHeaderChain.
| Method Detail |
|---|
public byte getType()
LBM.CHAIN_ELEM_USER_DATA.
public void setType(byte type)
throws LBMEInvalException
LBM.CHAIN_ELEM_USER_DATA.
Setting this to any other type will cause an exception to be thrown.
type - The type of the application header element. This should always be set to LBM.CHAIN_ELEM_USER_DATA.
LBMEInvalException - if the type is not supported.public short getSubtype()
public void setSubtype(short subtype)
subtype - The subtype to set this application header element to.public byte[] getData()
public void setData(byte[] data)
NOTE: Application header element data payloads are currently limited in length to 196 bytes or less.
data - The data byte array to send with this application header element.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||