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, wait
forEach, spliterator
public static final String SEND_USER_DATA_SUBTYPE
public boolean addDataBlock(DataBlock dataBlock)
addDataBlock
in interface LongFrame
public byte getAddress()
getAddress
in interface PrimaryAddress
public Frame.ControlCode getControlCode()
getControlCode
in interface Frame
public DataBlock getLastDataBlock()
getLastDataBlock
in interface LongFrame
public boolean isFcb()
public void replaceDataBlock(DataBlock oldDataBlock, DataBlock newDataBlock)
replaceDataBlock
in interface LongFrame
public void setAddress(byte address)
setAddress
in interface PrimaryAddress
public void setFcb(boolean fcb)
public net.sf.json.JSONObject toJSON(JsonSerializeType jsonSerializeType)
toJSON
in interface JSONSerializable
public void fromJSON(net.sf.json.JSONObject json)
fromJSON
in interface JSONSerializable
Copyright © 2009–2016 MBus4J. All rights reserved.