Class CANOpenPDOPayload
- java.lang.Object
-
- org.apache.plc4x.java.canopen.readwrite.CANOpenPayload
-
- org.apache.plc4x.java.canopen.readwrite.CANOpenPDOPayload
-
- All Implemented Interfaces:
Message,Serializable
public class CANOpenPDOPayload extends CANOpenPayload implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCANOpenPDOPayload.CANOpenPDOPayloadBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.canopen.readwrite.CANOpenPayload
CANOpenPayload.CANOpenPayloadBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected CANOpenPDOpdo
-
Constructor Summary
Constructors Constructor Description CANOpenPDOPayload(CANOpenPDO pdo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetLengthInBits()intgetLengthInBytes()CANOpenPDOgetPdo()CANOpenServicegetService()inthashCode()protected voidserializeCANOpenPayloadChild(WriteBuffer writeBuffer)static CANOpenPayload.CANOpenPayloadBuilderstaticParseCANOpenPayloadBuilder(ReadBuffer readBuffer, CANOpenService service)StringtoString()-
Methods inherited from class org.apache.plc4x.java.canopen.readwrite.CANOpenPayload
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
-
pdo
protected final CANOpenPDO pdo
-
-
Constructor Detail
-
CANOpenPDOPayload
public CANOpenPDOPayload(CANOpenPDO pdo)
-
-
Method Detail
-
getService
public CANOpenService getService()
- Specified by:
getServicein classCANOpenPayload
-
getPdo
public CANOpenPDO getPdo()
-
serializeCANOpenPayloadChild
protected void serializeCANOpenPayloadChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeCANOpenPayloadChildin classCANOpenPayload- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classCANOpenPayload
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classCANOpenPayload
-
staticParseCANOpenPayloadBuilder
public static CANOpenPayload.CANOpenPayloadBuilder staticParseCANOpenPayloadBuilder(ReadBuffer readBuffer, CANOpenService service) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCANOpenPayload
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCANOpenPayload
-
toString
public String toString()
- Overrides:
toStringin classCANOpenPayload
-
-