tuwien.auto.eicl.struct.eibnetip

Class Connectionstate_Request


public class Connectionstate_Request
extends java.lang.Object

This class represents an EIBnet/IP Connectionstate Request message. This message is sent in an interval of 60 seconds to the server, acting as heart beating message. If the message was not confirmed by a Connectionstate Response, the request is replied two times. If even this attempts were not successful the connection is closed.
See Also:
Connectionstate_Response, CEMI_Connection

Constructor Summary

Connectionstate_Request(short _Channelid, int _LocalPort)
Creates a new Connectionstate_Request message.

Method Summary

byte[]
getByteArray()
Get the message in a byte array representation.

Constructor Details

Connectionstate_Request

public Connectionstate_Request(short _Channelid,
                               int _LocalPort)
            throws EICLException
Creates a new Connectionstate_Request message.
Parameters:
_Channelid - The current connection channelid.
_LocalPort - The clients local data end point port.
Throws:
EICLException - Is forwarded from HPAI class
See Also:
HPAI

Method Details

getByteArray

public byte[] getByteArray()
            throws EICLException
Get the message in a byte array representation.
Returns:
The message in byte array.
Throws:
EICLException - If an IOException is thrown.