Class DF1UnprotectedReadRequest
java.lang.Object
org.apache.plc4x.java.df1.readwrite.DF1Command
org.apache.plc4x.java.df1.readwrite.DF1UnprotectedReadRequest
- All Implemented Interfaces:
org.apache.plc4x.java.spi.generation.Message,org.apache.plc4x.java.spi.utils.Serializable
public class DF1UnprotectedReadRequest
extends DF1Command
implements org.apache.plc4x.java.spi.generation.Message
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class org.apache.plc4x.java.df1.readwrite.DF1Command
DF1Command.DF1CommandBuilder -
Field Summary
FieldsFields inherited from class org.apache.plc4x.java.df1.readwrite.DF1Command
status, transactionCounter -
Constructor Summary
ConstructorsConstructorDescriptionDF1UnprotectedReadRequest(short status, int transactionCounter, int address, short size) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintintshortgetSize()inthashCode()protected voidserializeDF1CommandChild(org.apache.plc4x.java.spi.generation.WriteBuffer writeBuffer) staticParseBuilder(org.apache.plc4x.java.spi.generation.ReadBuffer readBuffer) toString()Methods inherited from class org.apache.plc4x.java.df1.readwrite.DF1Command
getStatus, getTransactionCounter, 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
-
address
protected final int address -
size
protected final short size
-
-
Constructor Details
-
DF1UnprotectedReadRequest
public DF1UnprotectedReadRequest(short status, int transactionCounter, int address, short size)
-
-
Method Details
-
getCommandCode
- Specified by:
getCommandCodein classDF1Command
-
getAddress
public int getAddress() -
getSize
public short getSize() -
serializeDF1CommandChild
protected void serializeDF1CommandChild(org.apache.plc4x.java.spi.generation.WriteBuffer writeBuffer) throws org.apache.plc4x.java.spi.generation.SerializationException - Specified by:
serializeDF1CommandChildin classDF1Command- Throws:
org.apache.plc4x.java.spi.generation.SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceorg.apache.plc4x.java.spi.generation.Message- Overrides:
getLengthInBytesin classDF1Command
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceorg.apache.plc4x.java.spi.generation.Message- Overrides:
getLengthInBitsin classDF1Command
-
staticParseBuilder
public static DF1UnprotectedReadRequest.DF1UnprotectedReadRequestBuilder staticParseBuilder(org.apache.plc4x.java.spi.generation.ReadBuffer readBuffer) throws org.apache.plc4x.java.spi.generation.ParseException - Throws:
org.apache.plc4x.java.spi.generation.ParseException
-
equals
- Overrides:
equalsin classDF1Command
-
hashCode
public int hashCode()- Overrides:
hashCodein classDF1Command
-
toString
- Overrides:
toStringin classDF1Command
-