tuwien.auto.eicl.struct.eibnetip
Class Connect_Request
java.lang.Object
tuwien.auto.eicl.struct.eibnetip.Connect_Request
public class Connect_Request
extends java.lang.Object
This class creates an EIBNET/IP Connection Request. A Connection Request is
sent to server to open a point to point connection (Tunnelling or
Management). The server replies then immediately with a Connection Response.
Note that in this api version only tunnelling on link layer is supported.
Connect_Request(short _Connectiontypecode, short[] _Options, int _LocalPort) - Creates a new Connect_Request object.
|
byte[] | toByteArray() - The byte representation of this message.
|
Connect_Request
public Connect_Request(short _Connectiontypecode,
short[] _Options,
int _LocalPort)
throws EICLException
Creates a new Connect_Request object. Only tunnelling on link layer is
supported in this version, all other connection codes cause an exception.
_Connectiontypecode
- the connection type code_Options
- The options processed in the HPAI structure after the byte 2._LocalPort
- the local server port
EICLException
- If the connection type code is not TUNNEL_CONNECTION this
Exception is thrown
toByteArray
public byte[] toByteArray()
throws EICLException
The byte representation of this message.
- byte The message in byte array representation.