Class COTPParameterChecksum
java.lang.Object
org.apache.plc4x.java.s7.readwrite.COTPParameter
org.apache.plc4x.java.s7.readwrite.COTPParameterChecksum
- All Implemented Interfaces:
Message,Serializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.COTPParameter
COTPParameter.COTPParameterBuilder -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanshortgetCrc()intintinthashCode()protected voidserializeCOTPParameterChild(WriteBuffer writeBuffer) staticParseBuilder(ReadBuffer readBuffer, Short rest) toString()Methods inherited from class org.apache.plc4x.java.s7.readwrite.COTPParameter
serialize, staticParse, staticParseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
Field Details
-
crc
protected final short crc -
rest
-
-
Constructor Details
-
COTPParameterChecksum
-
-
Method Details
-
getParameterType
- Specified by:
getParameterTypein classCOTPParameter
-
getCrc
public short getCrc() -
serializeCOTPParameterChild
- Specified by:
serializeCOTPParameterChildin classCOTPParameter- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classCOTPParameter
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classCOTPParameter
-
staticParseBuilder
public static COTPParameterChecksum.COTPParameterChecksumBuilder staticParseBuilder(ReadBuffer readBuffer, Short rest) throws ParseException - Throws:
ParseException
-
equals
- Overrides:
equalsin classCOTPParameter
-
hashCode
public int hashCode()- Overrides:
hashCodein classCOTPParameter
-
toString
- Overrides:
toStringin classCOTPParameter
-