Class HPAIDiscoveryEndpoint
- java.lang.Object
-
- org.apache.plc4x.java.knxnetip.readwrite.HPAIDiscoveryEndpoint
-
- All Implemented Interfaces:
Message,Serializable
public class HPAIDiscoveryEndpoint extends Object implements Message
-
-
Field Summary
Fields Modifier and Type Field Description protected HostProtocolCodehostProtocolCodeprotected IPAddressipAddressprotected intipPort
-
Constructor Summary
Constructors Constructor Description HPAIDiscoveryEndpoint(HostProtocolCode hostProtocolCode, IPAddress ipAddress, int ipPort)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)HostProtocolCodegetHostProtocolCode()IPAddressgetIpAddress()intgetIpPort()intgetLengthInBits()intgetLengthInBytes()inthashCode()voidserialize(WriteBuffer writeBuffer)static HPAIDiscoveryEndpointstaticParse(ReadBuffer readBuffer)static HPAIDiscoveryEndpointstaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Field Detail
-
hostProtocolCode
protected final HostProtocolCode hostProtocolCode
-
ipAddress
protected final IPAddress ipAddress
-
ipPort
protected final int ipPort
-
-
Constructor Detail
-
HPAIDiscoveryEndpoint
public HPAIDiscoveryEndpoint(HostProtocolCode hostProtocolCode, IPAddress ipAddress, int ipPort)
-
-
Method Detail
-
getHostProtocolCode
public HostProtocolCode getHostProtocolCode()
-
getIpAddress
public IPAddress getIpAddress()
-
getIpPort
public int getIpPort()
-
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 HPAIDiscoveryEndpoint staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static HPAIDiscoveryEndpoint staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-