public class SendUserData extends Object implements LongFrame
Frame.ControlCode| Modifier and Type | Field and Description |
|---|---|
static String |
SEND_USER_DATA_SUBTYPE |
| Constructor and Description |
|---|
SendUserData() |
SendUserData(boolean fcb) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addDataBlock(DataBlock dataBlock) |
void |
fromJSON(net.sf.json.JSONObject json) |
byte |
getAddress() |
Frame.ControlCode |
getControlCode() |
DataBlock |
getLastDataBlock() |
boolean |
isFcb() |
Iterator<DataBlock> |
iterator() |
void |
replaceDataBlock(DataBlock oldDataBlock,
DataBlock newDataBlock) |
void |
setAddress(byte address) |
void |
setFcb(boolean fcb) |
net.sf.json.JSONObject |
toJSON(JsonSerializeType jsonSerializeType) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforEach, spliteratorpublic static final String SEND_USER_DATA_SUBTYPE
public boolean addDataBlock(DataBlock dataBlock)
addDataBlock in interface LongFramepublic byte getAddress()
getAddress in interface PrimaryAddresspublic Frame.ControlCode getControlCode()
getControlCode in interface Framepublic DataBlock getLastDataBlock()
getLastDataBlock in interface LongFramepublic boolean isFcb()
public void replaceDataBlock(DataBlock oldDataBlock, DataBlock newDataBlock)
replaceDataBlock in interface LongFramepublic void setAddress(byte address)
setAddress in interface PrimaryAddresspublic void setFcb(boolean fcb)
public net.sf.json.JSONObject toJSON(JsonSerializeType jsonSerializeType)
toJSON in interface JSONSerializablepublic void fromJSON(net.sf.json.JSONObject json)
fromJSON in interface JSONSerializableCopyright © 2009–2016 MBus4J. All rights reserved.