Class KnxGroupAddress2Level
java.lang.Object
org.apache.plc4x.java.knxnetip.readwrite.KnxGroupAddress
org.apache.plc4x.java.knxnetip.readwrite.KnxGroupAddress2Level
- All Implemented Interfaces:
Message,Serializable
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.apache.plc4x.java.knxnetip.readwrite.KnxGroupAddress
KnxGroupAddress.KnxGroupAddressBuilder -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanintintshortintinthashCode()protected voidserializeKnxGroupAddressChild(WriteBuffer writeBuffer) staticParseBuilder(ReadBuffer readBuffer, Byte numLevels) toString()Methods inherited from class org.apache.plc4x.java.knxnetip.readwrite.KnxGroupAddress
serialize, staticParse, staticParseMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
Field Details
-
mainGroup
protected final short mainGroup -
subGroup
protected final int subGroup
-
-
Constructor Details
-
KnxGroupAddress2Level
public KnxGroupAddress2Level(short mainGroup, int subGroup)
-
-
Method Details
-
getNumLevels
- Specified by:
getNumLevelsin classKnxGroupAddress
-
getMainGroup
public short getMainGroup() -
getSubGroup
public int getSubGroup() -
serializeKnxGroupAddressChild
- Specified by:
serializeKnxGroupAddressChildin classKnxGroupAddress- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classKnxGroupAddress
-
getLengthInBits
public int getLengthInBits()- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classKnxGroupAddress
-
staticParseBuilder
public static KnxGroupAddress2Level.KnxGroupAddress2LevelBuilder staticParseBuilder(ReadBuffer readBuffer, Byte numLevels) throws ParseException - Throws:
ParseException
-
equals
- Overrides:
equalsin classKnxGroupAddress
-
hashCode
public int hashCode()- Overrides:
hashCodein classKnxGroupAddress
-
toString
- Overrides:
toStringin classKnxGroupAddress
-