Class S7MessageObjectRequest
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.S7DataAlarmMessage
-
- org.apache.plc4x.java.s7.readwrite.S7MessageObjectRequest
-
- All Implemented Interfaces:
Message,Serializable
public class S7MessageObjectRequest extends S7DataAlarmMessage implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classS7MessageObjectRequest.S7MessageObjectRequestBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.S7DataAlarmMessage
S7DataAlarmMessage.S7DataAlarmMessageBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected AlarmTypealarmTypestatic ShortLENGTHprotected QueryTypequeryTypeprotected SyntaxIdTypesyntaxIdstatic ShortVARIABLESPEC-
Fields inherited from class org.apache.plc4x.java.s7.readwrite.S7DataAlarmMessage
FUNCTIONID, NUMBERMESSAGEOBJ
-
-
Constructor Summary
Constructors Constructor Description S7MessageObjectRequest(SyntaxIdType syntaxId, QueryType queryType, AlarmType alarmType)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)AlarmTypegetAlarmType()BytegetCpuFunctionType()shortgetLength()intgetLengthInBits()intgetLengthInBytes()QueryTypegetQueryType()SyntaxIdTypegetSyntaxId()shortgetVariableSpec()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
-
VARIABLESPEC
public static final Short VARIABLESPEC
-
LENGTH
public static final Short LENGTH
-
syntaxId
protected final SyntaxIdType syntaxId
-
queryType
protected final QueryType queryType
-
alarmType
protected final AlarmType alarmType
-
-
Constructor Detail
-
S7MessageObjectRequest
public S7MessageObjectRequest(SyntaxIdType syntaxId, QueryType queryType, AlarmType alarmType)
-
-
Method Detail
-
getCpuFunctionType
public Byte getCpuFunctionType()
- Specified by:
getCpuFunctionTypein classS7DataAlarmMessage
-
getSyntaxId
public SyntaxIdType getSyntaxId()
-
getQueryType
public QueryType getQueryType()
-
getAlarmType
public AlarmType getAlarmType()
-
getVariableSpec
public short getVariableSpec()
-
getLength
public short getLength()
-
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
-
-