tuwien.auto.eicl.struct.eibnetip
Class Connectionstate_Response
java.lang.Object
tuwien.auto.eicl.struct.eibnetip.Connectionstate_Response
public class Connectionstate_Response
extends java.lang.Object
This class represents an EIBnet/IP Connectionstate Response. This message is
sent in response to an Connectionstate Request. The status byte informs about
the request success.
short | getChannelid() - Returns the encapsulated channel identifier
|
short | getStatus() - Get the messages errorcode / status.
|
String | getStatusString() - Get a human readable representation of the statusbyte.
|
Connectionstate_Response
public Connectionstate_Response(byte[] _Buffer)
Creates a new Connectionstate Response by parsing a byte array. Pass all
bytes after the EIBnet/IP header to this constructor.
_Buffer
- The byte array starting after the EIBnet/IP header.
getChannelid
public short getChannelid()
Returns the encapsulated channel identifier
- The connection channel identifier.
getStatus
public short getStatus()
Get the messages errorcode / status.
getStatusString
public String getStatusString()
Get a human readable representation of the statusbyte.
- The status in a string representation.