Class ModbusDeviceInformationObject
- java.lang.Object
-
- org.apache.plc4x.java.modbus.readwrite.ModbusDeviceInformationObject
-
- All Implemented Interfaces:
Message,Serializable
public class ModbusDeviceInformationObject extends Object implements Message
-
-
Constructor Summary
Constructors Constructor Description ModbusDeviceInformationObject(short objectId, byte[] data)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)byte[]getData()intgetLengthInBits()intgetLengthInBytes()shortgetObjectId()inthashCode()voidserialize(WriteBuffer writeBuffer)static ModbusDeviceInformationObjectstaticParse(ReadBuffer readBuffer)static ModbusDeviceInformationObjectstaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Method Detail
-
getObjectId
public short getObjectId()
-
getData
public byte[] getData()
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
public static ModbusDeviceInformationObject staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static ModbusDeviceInformationObject staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-