Class S7ResponseMessage
java.lang.Object
org.apache.plc4x.java.base.messages.PlcRawMessage
org.apache.plc4x.java.s7.netty.model.messages.S7Message
org.apache.plc4x.java.s7.netty.model.messages.S7ResponseMessage
- All Implemented Interfaces:
PlcProtocolMessage
public class S7ResponseMessage extends S7Message
Response from S7 PLC that additionally contains error information.
-
Constructor Summary
Constructors Constructor Description S7ResponseMessage(MessageType messageType, short tpduReference, List<S7Parameter> s7Parameters, List<S7Payload> s7Payloads, byte errorClass, byte errorCode) -
Method Summary
Modifier and Type Method Description bytegetErrorClass()bytegetErrorCode()Methods inherited from class org.apache.plc4x.java.s7.netty.model.messages.S7Message
getMessageType, getParameter, getParameters, getPayload, getPayloads, getTpduReferenceMethods inherited from class org.apache.plc4x.java.base.messages.PlcRawMessage
getParent, getUserData
-
Constructor Details
-
S7ResponseMessage
public S7ResponseMessage(MessageType messageType, short tpduReference, List<S7Parameter> s7Parameters, List<S7Payload> s7Payloads, byte errorClass, byte errorCode)
-
-
Method Details
-
getErrorClass
public byte getErrorClass() -
getErrorCode
public byte getErrorCode()
-