Package com.automation_pros.odva.cpf
Class SeqAddrCPF
- java.lang.Object
-
- com.automation_pros.odva.cpf.CommonPacketFormat
-
- com.automation_pros.odva.cpf.SeqAddrCPF
-
- All Implemented Interfaces:
CpfAddress
public class SeqAddrCPF extends CommonPacketFormat implements CpfAddress
-
-
Constructor Summary
Constructors Constructor Description SeqAddrCPF(int addr, int seq)
SeqAddrCPF(java.nio.ByteBuffer source, CpfWrapper parent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAddress()
int
getSequence()
void
putPayload(java.nio.ByteBuffer dest)
void
setAddress(int addr)
void
setPayload(java.nio.ByteBuffer source)
void
setSequence(int sequence)
-
Methods inherited from class com.automation_pros.odva.cpf.CommonPacketFormat
getItemLen, getItemType, getParent, getPayload, parseInstance, putBytes, registerHandler, setItemType, setParent, toString, writeBytes
-
-
-
-
Field Detail
-
ITYPE
public static final short ITYPE
- See Also:
- Constant Field Values
-
address
protected int address
-
sequence
protected int sequence
-
-
Constructor Detail
-
SeqAddrCPF
public SeqAddrCPF(int addr, int seq)
-
SeqAddrCPF
public SeqAddrCPF(java.nio.ByteBuffer source, CpfWrapper parent)
-
-
Method Detail
-
getAddress
public int getAddress()
- Specified by:
getAddress
in interfaceCpfAddress
-
setAddress
public void setAddress(int addr)
- Specified by:
setAddress
in interfaceCpfAddress
-
getSequence
public int getSequence()
-
setSequence
public void setSequence(int sequence)
-
setPayload
public void setPayload(java.nio.ByteBuffer source)
- Overrides:
setPayload
in classCommonPacketFormat
-
putPayload
public void putPayload(java.nio.ByteBuffer dest)
- Overrides:
putPayload
in classCommonPacketFormat
-
-