Class LDataFrame
- java.lang.Object
-
- org.apache.plc4x.java.knxnetip.readwrite.LDataFrame
-
- All Implemented Interfaces:
Message,Serializable
- Direct Known Subclasses:
LDataExtended,LDataFrameACK,LPollData
public abstract class LDataFrame extends Object implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLDataFrame.LDataFrameBuilder
-
Field Summary
Fields Modifier and Type Field Description protected booleanacknowledgeRequestedprotected booleanerrorFlagprotected booleanframeTypeprotected booleannotRepeatedprotected CEMIPrioritypriority
-
Constructor Summary
Constructors Constructor Description LDataFrame(boolean frameType, boolean notRepeated, CEMIPriority priority, boolean acknowledgeRequested, boolean errorFlag)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)booleangetAcknowledgeRequested()booleangetErrorFlag()booleangetFrameType()intgetLengthInBits()intgetLengthInBytes()abstract BooleangetNotAckFrame()booleangetNotRepeated()abstract BooleangetPolling()CEMIPrioritygetPriority()inthashCode()voidserialize(WriteBuffer writeBuffer)protected abstract voidserializeLDataFrameChild(WriteBuffer writeBuffer)static LDataFramestaticParse(ReadBuffer readBuffer)static LDataFramestaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Field Detail
-
frameType
protected final boolean frameType
-
notRepeated
protected final boolean notRepeated
-
priority
protected final CEMIPriority priority
-
acknowledgeRequested
protected final boolean acknowledgeRequested
-
errorFlag
protected final boolean errorFlag
-
-
Constructor Detail
-
LDataFrame
public LDataFrame(boolean frameType, boolean notRepeated, CEMIPriority priority, boolean acknowledgeRequested, boolean errorFlag)
-
-
Method Detail
-
getNotAckFrame
public abstract Boolean getNotAckFrame()
-
getPolling
public abstract Boolean getPolling()
-
getFrameType
public boolean getFrameType()
-
getNotRepeated
public boolean getNotRepeated()
-
getPriority
public CEMIPriority getPriority()
-
getAcknowledgeRequested
public boolean getAcknowledgeRequested()
-
getErrorFlag
public boolean getErrorFlag()
-
serializeLDataFrameChild
protected abstract void serializeLDataFrameChild(WriteBuffer writeBuffer) throws SerializationException
- Throws:
SerializationException
-
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 LDataFrame staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static LDataFrame staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-