Class CANOpenTimeSynchronization
- java.lang.Object
-
- org.apache.plc4x.java.canopen.readwrite.CANOpenPayload
-
- org.apache.plc4x.java.canopen.readwrite.CANOpenTimeSynchronization
-
- All Implemented Interfaces:
Message,Serializable
public class CANOpenTimeSynchronization extends CANOpenPayload implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCANOpenTimeSynchronization.CANOpenTimeSynchronizationBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.canopen.readwrite.CANOpenPayload
CANOpenPayload.CANOpenPayloadBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected CANOpenTimetimeOfDay
-
Constructor Summary
Constructors Constructor Description CANOpenTimeSynchronization(CANOpenTime timeOfDay)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetLengthInBits()intgetLengthInBytes()CANOpenServicegetService()CANOpenTimegetTimeOfDay()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
-
timeOfDay
protected final CANOpenTime timeOfDay
-
-
Constructor Detail
-
CANOpenTimeSynchronization
public CANOpenTimeSynchronization(CANOpenTime timeOfDay)
-
-
Method Detail
-
getService
public CANOpenService getService()
- Specified by:
getServicein classCANOpenPayload
-
getTimeOfDay
public CANOpenTime getTimeOfDay()
-
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
-
-