Class COTPParameter
java.lang.Object
org.apache.plc4x.java.s7.readwrite.COTPParameter
- All Implemented Interfaces:
Message,Serializable
- Direct Known Subclasses:
COTPParameterCalledTsap,COTPParameterCallingTsap,COTPParameterChecksum,COTPParameterDisconnectAdditionalInformation,COTPParameterTpduSize
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintabstract ShortinthashCode()voidserialize(WriteBuffer writeBuffer) protected abstract voidserializeCOTPParameterChild(WriteBuffer writeBuffer) static COTPParameterstaticParse(ReadBuffer readBuffer, Object... args) static COTPParameterstaticParse(ReadBuffer readBuffer, Short rest) toString()
-
Field Details
-
rest
-
-
Constructor Details
-
COTPParameter
-
-
Method Details
-
getParameterType
-
serializeCOTPParameterChild
protected abstract void serializeCOTPParameterChild(WriteBuffer writeBuffer) throws SerializationException - Throws:
SerializationException
-
serialize
- 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 COTPParameter staticParse(ReadBuffer readBuffer, Object... args) throws ParseException - Throws:
ParseException
-
staticParse
- Throws:
ParseException
-
equals
-
hashCode
public int hashCode() -
toString
-