Class COTPParameterTpduSize
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.COTPParameter
-
- org.apache.plc4x.java.s7.readwrite.COTPParameterTpduSize
-
- All Implemented Interfaces:
Message,Serializable
public class COTPParameterTpduSize extends COTPParameter implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCOTPParameterTpduSize.COTPParameterTpduSizeBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.COTPParameter
COTPParameter.COTPParameterBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected COTPTpduSizetpduSize
-
Constructor Summary
Constructors Constructor Description COTPParameterTpduSize(COTPTpduSize tpduSize)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetLengthInBits()intgetLengthInBytes()ShortgetParameterType()COTPTpduSizegetTpduSize()inthashCode()protected voidserializeCOTPParameterChild(WriteBuffer writeBuffer)static COTPParameter.COTPParameterBuilderstaticParseCOTPParameterBuilder(ReadBuffer readBuffer, Short rest)StringtoString()-
Methods inherited from class org.apache.plc4x.java.s7.readwrite.COTPParameter
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
-
tpduSize
protected final COTPTpduSize tpduSize
-
-
Constructor Detail
-
COTPParameterTpduSize
public COTPParameterTpduSize(COTPTpduSize tpduSize)
-
-
Method Detail
-
getParameterType
public Short getParameterType()
- Specified by:
getParameterTypein classCOTPParameter
-
getTpduSize
public COTPTpduSize getTpduSize()
-
serializeCOTPParameterChild
protected void serializeCOTPParameterChild(WriteBuffer writeBuffer) throws SerializationException
- 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
-
staticParseCOTPParameterBuilder
public static COTPParameter.COTPParameterBuilder staticParseCOTPParameterBuilder(ReadBuffer readBuffer, Short rest) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classCOTPParameter
-
hashCode
public int hashCode()
- Overrides:
hashCodein classCOTPParameter
-
toString
public String toString()
- Overrides:
toStringin classCOTPParameter
-
-