Class ModbusPDUReadDeviceIdentificationResponse
- java.lang.Object
-
- org.apache.plc4x.java.modbus.readwrite.ModbusPDU
-
- org.apache.plc4x.java.modbus.readwrite.ModbusPDUReadDeviceIdentificationResponse
-
- All Implemented Interfaces:
Message,Serializable
public class ModbusPDUReadDeviceIdentificationResponse extends ModbusPDU implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classModbusPDUReadDeviceIdentificationResponse.ModbusPDUReadDeviceIdentificationResponseBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.modbus.readwrite.ModbusPDU
ModbusPDU.ModbusPDUBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected ModbusDeviceInformationConformityLevelconformityLevelprotected booleanindividualAccessprotected ModbusDeviceInformationLevellevelstatic ShortMEITYPEprotected ModbusDeviceInformationMoreFollowsmoreFollowsprotected shortnextObjectIdprotected List<ModbusDeviceInformationObject>objects
-
Constructor Summary
Constructors Constructor Description ModbusPDUReadDeviceIdentificationResponse(ModbusDeviceInformationLevel level, boolean individualAccess, ModbusDeviceInformationConformityLevel conformityLevel, ModbusDeviceInformationMoreFollows moreFollows, short nextObjectId, List<ModbusDeviceInformationObject> objects)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ModbusDeviceInformationConformityLevelgetConformityLevel()BooleangetErrorFlag()BytegetFunctionFlag()booleangetIndividualAccess()intgetLengthInBits()intgetLengthInBytes()ModbusDeviceInformationLevelgetLevel()shortgetMeiType()ModbusDeviceInformationMoreFollowsgetMoreFollows()shortgetNextObjectId()List<ModbusDeviceInformationObject>getObjects()BooleangetResponse()inthashCode()protected voidserializeModbusPDUChild(WriteBuffer writeBuffer)static ModbusPDU.ModbusPDUBuilderstaticParseModbusPDUBuilder(ReadBuffer readBuffer, Boolean response)StringtoString()-
Methods inherited from class org.apache.plc4x.java.modbus.readwrite.ModbusPDU
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
-
MEITYPE
public static final Short MEITYPE
-
level
protected final ModbusDeviceInformationLevel level
-
individualAccess
protected final boolean individualAccess
-
conformityLevel
protected final ModbusDeviceInformationConformityLevel conformityLevel
-
moreFollows
protected final ModbusDeviceInformationMoreFollows moreFollows
-
nextObjectId
protected final short nextObjectId
-
objects
protected final List<ModbusDeviceInformationObject> objects
-
-
Constructor Detail
-
ModbusPDUReadDeviceIdentificationResponse
public ModbusPDUReadDeviceIdentificationResponse(ModbusDeviceInformationLevel level, boolean individualAccess, ModbusDeviceInformationConformityLevel conformityLevel, ModbusDeviceInformationMoreFollows moreFollows, short nextObjectId, List<ModbusDeviceInformationObject> objects)
-
-
Method Detail
-
getErrorFlag
public Boolean getErrorFlag()
- Specified by:
getErrorFlagin classModbusPDU
-
getFunctionFlag
public Byte getFunctionFlag()
- Specified by:
getFunctionFlagin classModbusPDU
-
getResponse
public Boolean getResponse()
- Specified by:
getResponsein classModbusPDU
-
getLevel
public ModbusDeviceInformationLevel getLevel()
-
getIndividualAccess
public boolean getIndividualAccess()
-
getConformityLevel
public ModbusDeviceInformationConformityLevel getConformityLevel()
-
getMoreFollows
public ModbusDeviceInformationMoreFollows getMoreFollows()
-
getNextObjectId
public short getNextObjectId()
-
getObjects
public List<ModbusDeviceInformationObject> getObjects()
-
getMeiType
public short getMeiType()
-
serializeModbusPDUChild
protected void serializeModbusPDUChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeModbusPDUChildin classModbusPDU- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classModbusPDU
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classModbusPDU
-
staticParseModbusPDUBuilder
public static ModbusPDU.ModbusPDUBuilder staticParseModbusPDUBuilder(ReadBuffer readBuffer, Boolean response) throws ParseException
- Throws:
ParseException
-
-