Class S7MessageRequest
- java.lang.Object
-
- org.apache.plc4x.java.s7.readwrite.S7Message
-
- org.apache.plc4x.java.s7.readwrite.S7MessageRequest
-
- All Implemented Interfaces:
Message,Serializable
public class S7MessageRequest extends S7Message implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classS7MessageRequest.S7MessageRequestBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.s7.readwrite.S7Message
S7Message.S7MessageBuilder
-
-
Field Summary
-
Fields inherited from class org.apache.plc4x.java.s7.readwrite.S7Message
parameter, payload, PROTOCOLID, tpduReference
-
-
Constructor Summary
Constructors Constructor Description S7MessageRequest(int tpduReference, S7Parameter parameter, S7Payload payload)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetLengthInBits()intgetLengthInBytes()ShortgetMessageType()inthashCode()protected voidserializeS7MessageChild(WriteBuffer writeBuffer)static S7Message.S7MessageBuilderstaticParseS7MessageBuilder(ReadBuffer readBuffer)StringtoString()-
Methods inherited from class org.apache.plc4x.java.s7.readwrite.S7Message
getParameter, getPayload, getProtocolId, getTpduReference, 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
-
-
-
-
Constructor Detail
-
S7MessageRequest
public S7MessageRequest(int tpduReference, S7Parameter parameter, S7Payload payload)
-
-
Method Detail
-
getMessageType
public Short getMessageType()
- Specified by:
getMessageTypein classS7Message
-
serializeS7MessageChild
protected void serializeS7MessageChild(WriteBuffer writeBuffer) throws SerializationException
- 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
-
staticParseS7MessageBuilder
public static S7Message.S7MessageBuilder staticParseS7MessageBuilder(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-