Class ConnectionResponse
- java.lang.Object
-
- org.apache.plc4x.java.knxnetip.readwrite.KnxNetIpMessage
-
- org.apache.plc4x.java.knxnetip.readwrite.ConnectionResponse
-
- All Implemented Interfaces:
Message,Serializable
public class ConnectionResponse extends KnxNetIpMessage implements Message
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classConnectionResponse.ConnectionResponseBuilderImpl-
Nested classes/interfaces inherited from class org.apache.plc4x.java.knxnetip.readwrite.KnxNetIpMessage
KnxNetIpMessage.KnxNetIpMessageBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected shortcommunicationChannelIdprotected ConnectionResponseDataBlockconnectionResponseDataBlockprotected HPAIDataEndpointhpaiDataEndpointprotected Statusstatus-
Fields inherited from class org.apache.plc4x.java.knxnetip.readwrite.KnxNetIpMessage
PROTOCOLVERSION
-
-
Constructor Summary
Constructors Constructor Description ConnectionResponse(short communicationChannelId, Status status, HPAIDataEndpoint hpaiDataEndpoint, ConnectionResponseDataBlock connectionResponseDataBlock)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)shortgetCommunicationChannelId()ConnectionResponseDataBlockgetConnectionResponseDataBlock()HPAIDataEndpointgetHpaiDataEndpoint()intgetLengthInBits()intgetLengthInBytes()IntegergetMsgType()StatusgetStatus()inthashCode()protected voidserializeKnxNetIpMessageChild(WriteBuffer writeBuffer)static KnxNetIpMessage.KnxNetIpMessageBuilderstaticParseKnxNetIpMessageBuilder(ReadBuffer readBuffer)StringtoString()-
Methods inherited from class org.apache.plc4x.java.knxnetip.readwrite.KnxNetIpMessage
getProtocolVersion, serialize, staticParse, staticParse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.plc4x.java.spi.utils.Serializable
serialize
-
-
-
-
Field Detail
-
communicationChannelId
protected final short communicationChannelId
-
status
protected final Status status
-
hpaiDataEndpoint
protected final HPAIDataEndpoint hpaiDataEndpoint
-
connectionResponseDataBlock
protected final ConnectionResponseDataBlock connectionResponseDataBlock
-
-
Constructor Detail
-
ConnectionResponse
public ConnectionResponse(short communicationChannelId, Status status, HPAIDataEndpoint hpaiDataEndpoint, ConnectionResponseDataBlock connectionResponseDataBlock)
-
-
Method Detail
-
getMsgType
public Integer getMsgType()
- Specified by:
getMsgTypein classKnxNetIpMessage
-
getCommunicationChannelId
public short getCommunicationChannelId()
-
getStatus
public Status getStatus()
-
getHpaiDataEndpoint
public HPAIDataEndpoint getHpaiDataEndpoint()
-
getConnectionResponseDataBlock
public ConnectionResponseDataBlock getConnectionResponseDataBlock()
-
serializeKnxNetIpMessageChild
protected void serializeKnxNetIpMessageChild(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializeKnxNetIpMessageChildin classKnxNetIpMessage- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage- Overrides:
getLengthInBytesin classKnxNetIpMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage- Overrides:
getLengthInBitsin classKnxNetIpMessage
-
staticParseKnxNetIpMessageBuilder
public static KnxNetIpMessage.KnxNetIpMessageBuilder staticParseKnxNetIpMessageBuilder(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classKnxNetIpMessage
-
hashCode
public int hashCode()
- Overrides:
hashCodein classKnxNetIpMessage
-
toString
public String toString()
- Overrides:
toStringin classKnxNetIpMessage
-
-