Class S7MessageResponseData
java.lang.Object
org.apache.plc4x.java.s7.readwrite.S7Message
org.apache.plc4x.java.s7.readwrite.S7MessageResponseData
- All Implemented Interfaces:
Message,Serializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.S7Message
S7Message.S7MessageBuilder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final shortprotected final shortFields inherited from class org.apache.plc4x.java.s7.readwrite.S7Message
parameter, payload, PROTOCOLID, tpduReference -
Constructor Summary
ConstructorsConstructorDescriptionS7MessageResponseData(int tpduReference, S7Parameter parameter, S7Payload payload, short errorClass, short errorCode) -
Method Summary
Modifier and TypeMethodDescriptionbooleanshortshortintintinthashCode()protected voidserializeS7MessageChild(WriteBuffer writeBuffer) staticParseBuilder(ReadBuffer readBuffer) toString()Methods inherited from class org.apache.plc4x.java.s7.readwrite.S7Message
getParameter, getPayload, getProtocolId, getTpduReference, 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
-
errorClass
protected final short errorClass -
errorCode
protected final short errorCode
-
-
Constructor Details
-
S7MessageResponseData
public S7MessageResponseData(int tpduReference, S7Parameter parameter, S7Payload payload, short errorClass, short errorCode)
-
-
Method Details
-
getMessageType
- Specified by:
getMessageTypein classS7Message
-
getErrorClass
public short getErrorClass() -
getErrorCode
public short getErrorCode() -
serializeS7MessageChild
- Specified by:
serializeS7MessageChildin classS7Message- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classS7Message
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classS7Message
-
staticParseBuilder
public static S7MessageResponseData.S7MessageResponseDataBuilder staticParseBuilder(ReadBuffer readBuffer) throws ParseException - Throws:
ParseException
-
equals
-
hashCode
public int hashCode() -
toString
-