Class S7MessageObjectResponse
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.S7DataAlarmMessage
-
- org.apache.plc4x.java.s7.readwrite.S7MessageObjectResponse
-
- All Implemented Interfaces:
Message,Serializable
public class S7MessageObjectResponse extends S7DataAlarmMessage implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classS7MessageObjectResponse.S7MessageObjectResponseBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.S7DataAlarmMessage
S7DataAlarmMessage.S7DataAlarmMessageBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected DataTransportErrorCodereturnCodeprotected DataTransportSizetransportSize-
Fields inherited from class org.apache.plc4x.java.s7.readwrite.S7DataAlarmMessage
FUNCTIONID, NUMBERMESSAGEOBJ
-
-
Constructor Summary
Constructors Constructor Description S7MessageObjectResponse(DataTransportErrorCode returnCode, DataTransportSize transportSize)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)BytegetCpuFunctionType()intgetLengthInBits()intgetLengthInBytes()DataTransportErrorCodegetReturnCode()DataTransportSizegetTransportSize()inthashCode()protected voidserializeS7DataAlarmMessageChild(WriteBuffer writeBuffer)static S7DataAlarmMessage.S7DataAlarmMessageBuilderstaticParseS7DataAlarmMessageBuilder(ReadBuffer readBuffer, Byte cpuFunctionType)StringtoString()-
Methods inherited from class org.apache.plc4x.java.s7.readwrite.S7DataAlarmMessage
getFunctionId, getNumberMessageObj, 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
-
returnCode
protected final DataTransportErrorCode returnCode
-
transportSize
protected final DataTransportSize transportSize
-
-
Constructor Detail
-
S7MessageObjectResponse
public S7MessageObjectResponse(DataTransportErrorCode returnCode, DataTransportSize transportSize)
-
-
Method Detail
-
getCpuFunctionType
public Byte getCpuFunctionType()
- Specified by:
getCpuFunctionTypein classS7DataAlarmMessage
-
getReturnCode
public DataTransportErrorCode getReturnCode()
-
getTransportSize
public DataTransportSize getTransportSize()
-
serializeS7DataAlarmMessageChild
protected void serializeS7DataAlarmMessageChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeS7DataAlarmMessageChildin classS7DataAlarmMessage- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classS7DataAlarmMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classS7DataAlarmMessage
-
staticParseS7DataAlarmMessageBuilder
public static S7DataAlarmMessage.S7DataAlarmMessageBuilder staticParseS7DataAlarmMessageBuilder(ReadBuffer readBuffer, Byte cpuFunctionType) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classS7DataAlarmMessage
-
hashCode
public int hashCode()
- Overrides:
hashCodein classS7DataAlarmMessage
-
toString
public String toString()
- Overrides:
toStringin classS7DataAlarmMessage
-
-