Class TunnelingResponseDataBlock
- java.lang.Object
-
- org.apache.plc4x.java.knxnetip.readwrite.TunnelingResponseDataBlock
-
- All Implemented Interfaces:
Message,Serializable
public class TunnelingResponseDataBlock extends Object implements Message
-
-
Field Summary
Fields Modifier and Type Field Description protected shortcommunicationChannelIdprotected shortsequenceCounterprotected Statusstatus
-
Constructor Summary
Constructors Constructor Description TunnelingResponseDataBlock(short communicationChannelId, short sequenceCounter, Status status)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)shortgetCommunicationChannelId()intgetLengthInBits()intgetLengthInBytes()shortgetSequenceCounter()StatusgetStatus()inthashCode()voidserialize(WriteBuffer writeBuffer)static TunnelingResponseDataBlockstaticParse(ReadBuffer readBuffer)static TunnelingResponseDataBlockstaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Field Detail
-
communicationChannelId
protected final short communicationChannelId
-
sequenceCounter
protected final short sequenceCounter
-
status
protected final Status status
-
-
Constructor Detail
-
TunnelingResponseDataBlock
public TunnelingResponseDataBlock(short communicationChannelId, short sequenceCounter, Status status)
-
-
Method Detail
-
getCommunicationChannelId
public short getCommunicationChannelId()
-
getSequenceCounter
public short getSequenceCounter()
-
getStatus
public Status getStatus()
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
public static TunnelingResponseDataBlock staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static TunnelingResponseDataBlock staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-