Class DeviceDescriptorType2
- java.lang.Object
-
- org.apache.plc4x.java.knxnetip.readwrite.DeviceDescriptorType2
-
- All Implemented Interfaces:
Message,Serializable
public class DeviceDescriptorType2 extends Object implements Message
-
-
Field Summary
Fields Modifier and Type Field Description protected ChannelInformationchannelInfo1protected ChannelInformationchannelInfo2protected ChannelInformationchannelInfo3protected ChannelInformationchannelInfo4protected intdeviceTypeprotected bytelogicalTagBaseprotected intmanufacturerIdprotected booleanreadSupportedprotected shortversionprotected booleanwriteSupported
-
Constructor Summary
Constructors Constructor Description DeviceDescriptorType2(int manufacturerId, int deviceType, short version, boolean readSupported, boolean writeSupported, byte logicalTagBase, ChannelInformation channelInfo1, ChannelInformation channelInfo2, ChannelInformation channelInfo3, ChannelInformation channelInfo4)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)ChannelInformationgetChannelInfo1()ChannelInformationgetChannelInfo2()ChannelInformationgetChannelInfo3()ChannelInformationgetChannelInfo4()intgetDeviceType()intgetLengthInBits()intgetLengthInBytes()bytegetLogicalTagBase()intgetManufacturerId()booleangetReadSupported()shortgetVersion()booleangetWriteSupported()inthashCode()voidserialize(WriteBuffer writeBuffer)static DeviceDescriptorType2staticParse(ReadBuffer readBuffer)static DeviceDescriptorType2staticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Field Detail
-
manufacturerId
protected final int manufacturerId
-
deviceType
protected final int deviceType
-
version
protected final short version
-
readSupported
protected final boolean readSupported
-
writeSupported
protected final boolean writeSupported
-
logicalTagBase
protected final byte logicalTagBase
-
channelInfo1
protected final ChannelInformation channelInfo1
-
channelInfo2
protected final ChannelInformation channelInfo2
-
channelInfo3
protected final ChannelInformation channelInfo3
-
channelInfo4
protected final ChannelInformation channelInfo4
-
-
Constructor Detail
-
DeviceDescriptorType2
public DeviceDescriptorType2(int manufacturerId, int deviceType, short version, boolean readSupported, boolean writeSupported, byte logicalTagBase, ChannelInformation channelInfo1, ChannelInformation channelInfo2, ChannelInformation channelInfo3, ChannelInformation channelInfo4)
-
-
Method Detail
-
getManufacturerId
public int getManufacturerId()
-
getDeviceType
public int getDeviceType()
-
getVersion
public short getVersion()
-
getReadSupported
public boolean getReadSupported()
-
getWriteSupported
public boolean getWriteSupported()
-
getLogicalTagBase
public byte getLogicalTagBase()
-
getChannelInfo1
public ChannelInformation getChannelInfo1()
-
getChannelInfo2
public ChannelInformation getChannelInfo2()
-
getChannelInfo3
public ChannelInformation getChannelInfo3()
-
getChannelInfo4
public ChannelInformation getChannelInfo4()
-
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 DeviceDescriptorType2 staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static DeviceDescriptorType2 staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-