Class DIBDeviceInfo
- java.lang.Object
-
- org.apache.plc4x.java.knxnetip.readwrite.DIBDeviceInfo
-
- All Implemented Interfaces:
Message,Serializable
public class DIBDeviceInfo extends Object implements Message
-
-
Field Summary
Fields Modifier and Type Field Description protected shortdescriptionTypeprotected byte[]deviceFriendlyNameprotected DeviceStatusdeviceStatusprotected KnxAddressknxAddressprotected KnxMediumknxMediumprotected MACAddressknxNetIpDeviceMacAddressprotected IPAddressknxNetIpDeviceMulticastAddressprotected byte[]knxNetIpDeviceSerialNumberprotected ProjectInstallationIdentifierprojectInstallationIdentifier
-
Constructor Summary
Constructors Constructor Description DIBDeviceInfo(short descriptionType, KnxMedium knxMedium, DeviceStatus deviceStatus, KnxAddress knxAddress, ProjectInstallationIdentifier projectInstallationIdentifier, byte[] knxNetIpDeviceSerialNumber, IPAddress knxNetIpDeviceMulticastAddress, MACAddress knxNetIpDeviceMacAddress, byte[] deviceFriendlyName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)shortgetDescriptionType()byte[]getDeviceFriendlyName()DeviceStatusgetDeviceStatus()KnxAddressgetKnxAddress()KnxMediumgetKnxMedium()MACAddressgetKnxNetIpDeviceMacAddress()IPAddressgetKnxNetIpDeviceMulticastAddress()byte[]getKnxNetIpDeviceSerialNumber()intgetLengthInBits()intgetLengthInBytes()ProjectInstallationIdentifiergetProjectInstallationIdentifier()inthashCode()voidserialize(WriteBuffer writeBuffer)static DIBDeviceInfostaticParse(ReadBuffer readBuffer)static DIBDeviceInfostaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Field Detail
-
descriptionType
protected final short descriptionType
-
knxMedium
protected final KnxMedium knxMedium
-
deviceStatus
protected final DeviceStatus deviceStatus
-
knxAddress
protected final KnxAddress knxAddress
-
projectInstallationIdentifier
protected final ProjectInstallationIdentifier projectInstallationIdentifier
-
knxNetIpDeviceSerialNumber
protected final byte[] knxNetIpDeviceSerialNumber
-
knxNetIpDeviceMulticastAddress
protected final IPAddress knxNetIpDeviceMulticastAddress
-
knxNetIpDeviceMacAddress
protected final MACAddress knxNetIpDeviceMacAddress
-
deviceFriendlyName
protected final byte[] deviceFriendlyName
-
-
Constructor Detail
-
DIBDeviceInfo
public DIBDeviceInfo(short descriptionType, KnxMedium knxMedium, DeviceStatus deviceStatus, KnxAddress knxAddress, ProjectInstallationIdentifier projectInstallationIdentifier, byte[] knxNetIpDeviceSerialNumber, IPAddress knxNetIpDeviceMulticastAddress, MACAddress knxNetIpDeviceMacAddress, byte[] deviceFriendlyName)
-
-
Method Detail
-
getDescriptionType
public short getDescriptionType()
-
getKnxMedium
public KnxMedium getKnxMedium()
-
getDeviceStatus
public DeviceStatus getDeviceStatus()
-
getKnxAddress
public KnxAddress getKnxAddress()
-
getProjectInstallationIdentifier
public ProjectInstallationIdentifier getProjectInstallationIdentifier()
-
getKnxNetIpDeviceSerialNumber
public byte[] getKnxNetIpDeviceSerialNumber()
-
getKnxNetIpDeviceMulticastAddress
public IPAddress getKnxNetIpDeviceMulticastAddress()
-
getKnxNetIpDeviceMacAddress
public MACAddress getKnxNetIpDeviceMacAddress()
-
getDeviceFriendlyName
public byte[] getDeviceFriendlyName()
-
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 DIBDeviceInfo staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static DIBDeviceInfo staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-