Class KnxAddress
java.lang.Object
org.apache.plc4x.java.knxnetip.readwrite.KnxAddress
- All Implemented Interfaces:
Message,Serializable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final byteprotected final byteprotected final short -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintbytebyteshortinthashCode()voidserialize(WriteBuffer writeBuffer) static KnxAddressstaticParse(ReadBuffer readBuffer) static KnxAddressstaticParse(ReadBuffer readBuffer, Object... args) toString()
-
Field Details
-
mainGroup
protected final byte mainGroup -
middleGroup
protected final byte middleGroup -
subGroup
protected final short subGroup
-
-
Constructor Details
-
KnxAddress
public KnxAddress(byte mainGroup, byte middleGroup, short subGroup)
-
-
Method Details
-
getMainGroup
public byte getMainGroup() -
getMiddleGroup
public byte getMiddleGroup() -
getSubGroup
public short getSubGroup() -
serialize
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
- Throws:
ParseException
-
staticParse
- Throws:
ParseException
-
equals
-
hashCode
public int hashCode() -
toString
-