Class LDataExtended
- java.lang.Object
-
- org.apache.plc4x.java.knxnetip.readwrite.LDataFrame
-
- org.apache.plc4x.java.knxnetip.readwrite.LDataExtended
-
- All Implemented Interfaces:
Message,Serializable
public class LDataExtended extends LDataFrame implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLDataExtended.LDataExtendedBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.knxnetip.readwrite.LDataFrame
LDataFrame.LDataFrameBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected Apduapduprotected byte[]destinationAddressprotected byteextendedFrameFormatprotected booleangroupAddressprotected bytehopCountprotected KnxAddresssourceAddress-
Fields inherited from class org.apache.plc4x.java.knxnetip.readwrite.LDataFrame
acknowledgeRequested, errorFlag, frameType, notRepeated, priority
-
-
Constructor Summary
Constructors Constructor Description LDataExtended(boolean frameType, boolean notRepeated, CEMIPriority priority, boolean acknowledgeRequested, boolean errorFlag, boolean groupAddress, byte hopCount, byte extendedFrameFormat, KnxAddress sourceAddress, byte[] destinationAddress, Apdu apdu)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ApdugetApdu()byte[]getDestinationAddress()bytegetExtendedFrameFormat()booleangetGroupAddress()bytegetHopCount()intgetLengthInBits()intgetLengthInBytes()BooleangetNotAckFrame()BooleangetPolling()KnxAddressgetSourceAddress()inthashCode()protected voidserializeLDataFrameChild(WriteBuffer writeBuffer)static LDataFrame.LDataFrameBuilderstaticParseLDataFrameBuilder(ReadBuffer readBuffer)StringtoString()-
Methods inherited from class org.apache.plc4x.java.knxnetip.readwrite.LDataFrame
getAcknowledgeRequested, getErrorFlag, getFrameType, getNotRepeated, getPriority, serialize, staticParse, staticParse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
-
-
-
Field Detail
-
groupAddress
protected final boolean groupAddress
-
hopCount
protected final byte hopCount
-
extendedFrameFormat
protected final byte extendedFrameFormat
-
sourceAddress
protected final KnxAddress sourceAddress
-
destinationAddress
protected final byte[] destinationAddress
-
apdu
protected final Apdu apdu
-
-
Constructor Detail
-
LDataExtended
public LDataExtended(boolean frameType, boolean notRepeated, CEMIPriority priority, boolean acknowledgeRequested, boolean errorFlag, boolean groupAddress, byte hopCount, byte extendedFrameFormat, KnxAddress sourceAddress, byte[] destinationAddress, Apdu apdu)
-
-
Method Detail
-
getNotAckFrame
public Boolean getNotAckFrame()
- Specified by:
getNotAckFramein classLDataFrame
-
getPolling
public Boolean getPolling()
- Specified by:
getPollingin classLDataFrame
-
getGroupAddress
public boolean getGroupAddress()
-
getHopCount
public byte getHopCount()
-
getExtendedFrameFormat
public byte getExtendedFrameFormat()
-
getSourceAddress
public KnxAddress getSourceAddress()
-
getDestinationAddress
public byte[] getDestinationAddress()
-
getApdu
public Apdu getApdu()
-
serializeLDataFrameChild
protected void serializeLDataFrameChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeLDataFrameChildin classLDataFrame- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classLDataFrame
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classLDataFrame
-
staticParseLDataFrameBuilder
public static LDataFrame.LDataFrameBuilder staticParseLDataFrameBuilder(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classLDataFrame
-
hashCode
public int hashCode()
- Overrides:
hashCodein classLDataFrame
-
toString
public String toString()
- Overrides:
toStringin classLDataFrame
-
-