Class DeviceDescriptorType2
java.lang.Object
org.apache.plc4x.java.knxnetip.readwrite.DeviceDescriptorType2
- All Implemented Interfaces:
Message,Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ChannelInformationprotected final ChannelInformationprotected final ChannelInformationprotected final ChannelInformationprotected final intprotected final shortprotected final intprotected final booleanprotected final shortprotected final boolean -
Constructor Summary
ConstructorsConstructorDescriptionDeviceDescriptorType2(int manufacturerId, int deviceType, short version, boolean readSupported, boolean writeSupported, short logicalTagBase, ChannelInformation channelInfo1, ChannelInformation channelInfo2, ChannelInformation channelInfo3, ChannelInformation channelInfo4) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintintshortintbooleanshortbooleaninthashCode()voidserialize(WriteBuffer writeBuffer) static DeviceDescriptorType2staticParse(ReadBuffer readBuffer) static DeviceDescriptorType2staticParse(ReadBuffer readBuffer, Object... args) toString()
-
Field Details
-
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 short logicalTagBase -
channelInfo1
-
channelInfo2
-
channelInfo3
-
channelInfo4
-
-
Constructor Details
-
DeviceDescriptorType2
public DeviceDescriptorType2(int manufacturerId, int deviceType, short version, boolean readSupported, boolean writeSupported, short logicalTagBase, ChannelInformation channelInfo1, ChannelInformation channelInfo2, ChannelInformation channelInfo3, ChannelInformation channelInfo4)
-
-
Method Details
-
getManufacturerId
public int getManufacturerId() -
getDeviceType
public int getDeviceType() -
getVersion
public short getVersion() -
getReadSupported
public boolean getReadSupported() -
getWriteSupported
public boolean getWriteSupported() -
getLogicalTagBase
public short getLogicalTagBase() -
getChannelInfo1
-
getChannelInfo2
-
getChannelInfo3
-
getChannelInfo4
-
serialize
- 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
- Throws:
ParseException
-
equals
-
hashCode
public int hashCode() -
toString
-