Class CANOpenPayload
- java.lang.Object
-
- org.apache.plc4x.java.canopen.readwrite.CANOpenPayload
-
- All Implemented Interfaces:
Message,Serializable
- Direct Known Subclasses:
CANOpenHeartbeatPayload,CANOpenNetworkPayload,CANOpenPDOPayload,CANOpenSDORequest,CANOpenSDOResponse,CANOpenTimeSynchronization
public abstract class CANOpenPayload extends Object implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCANOpenPayload.CANOpenPayloadBuilder
-
Constructor Summary
Constructors Constructor Description CANOpenPayload()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetLengthInBits()intgetLengthInBytes()abstract CANOpenServicegetService()inthashCode()voidserialize(WriteBuffer writeBuffer)protected abstract voidserializeCANOpenPayloadChild(WriteBuffer writeBuffer)static CANOpenPayloadstaticParse(ReadBuffer readBuffer, Object... args)static CANOpenPayloadstaticParse(ReadBuffer readBuffer, CANOpenService service)StringtoString()
-
-
-
Method Detail
-
getService
public abstract CANOpenService getService()
-
serializeCANOpenPayloadChild
protected abstract void serializeCANOpenPayloadChild(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 CANOpenPayload staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static CANOpenPayload staticParse(ReadBuffer readBuffer, CANOpenService service) throws ParseException
- Throws:
ParseException
-
-