Class COTPPacketConnectionResponse
java.lang.Object
org.apache.plc4x.java.s7.readwrite.COTPPacket
org.apache.plc4x.java.s7.readwrite.COTPPacketConnectionResponse
- All Implemented Interfaces:
Message,Serializable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.COTPPacket
COTPPacket.COTPPacketBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Integerprotected final intprotected final COTPProtocolClassprotected final intFields inherited from class org.apache.plc4x.java.s7.readwrite.COTPPacket
parameters, payload -
Constructor Summary
ConstructorsConstructorDescriptionCOTPPacketConnectionResponse(List<COTPParameter> parameters, S7Message payload, int destinationReference, int sourceReference, COTPProtocolClass protocolClass, Integer cotpLen) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintintintinthashCode()protected voidserializeCOTPPacketChild(WriteBuffer writeBuffer) staticParseBuilder(ReadBuffer readBuffer, Integer cotpLen) toString()Methods inherited from class org.apache.plc4x.java.s7.readwrite.COTPPacket
getParameters, getPayload, 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
-
destinationReference
protected final int destinationReference -
sourceReference
protected final int sourceReference -
protocolClass
-
cotpLen
-
-
Constructor Details
-
COTPPacketConnectionResponse
public COTPPacketConnectionResponse(List<COTPParameter> parameters, S7Message payload, int destinationReference, int sourceReference, COTPProtocolClass protocolClass, Integer cotpLen)
-
-
Method Details
-
getTpduCode
- Specified by:
getTpduCodein classCOTPPacket
-
getDestinationReference
public int getDestinationReference() -
getSourceReference
public int getSourceReference() -
getProtocolClass
-
serializeCOTPPacketChild
- Specified by:
serializeCOTPPacketChildin classCOTPPacket- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classCOTPPacket
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classCOTPPacket
-
staticParseBuilder
public static COTPPacketConnectionResponse.COTPPacketConnectionResponseBuilder staticParseBuilder(ReadBuffer readBuffer, Integer cotpLen) throws ParseException - Throws:
ParseException
-
equals
- Overrides:
equalsin classCOTPPacket
-
hashCode
public int hashCode()- Overrides:
hashCodein classCOTPPacket
-
toString
- Overrides:
toStringin classCOTPPacket
-