tuwien.auto.eicl.struct.eibnetip

Class Search_Request


public class Search_Request
extends java.lang.Object

Created on 10.04.2005

This class is the implementation of the EIBnet/IP Search Request. A search request is sent multicast over the local IP network to port 3671. All receiving EIBnet/IP server replies with a Search Response. This process can be automated using the Discoverer class of the tuwien.auto.eicl package.

See Also:
Search_Response, Discoverer

Constructor Summary

Search_Request(int _PortNumber)
Initializes a new search request object for sending.

Method Summary

HPAI
getEndPoint()
Returns the end point HPAI
byte[]
toByteArray()
Returns the byte array representation of this packet

Constructor Details

Search_Request

public Search_Request(int _PortNumber)
            throws EICLException
Initializes a new search request object for sending.
Parameters:
_PortNumber - The local port number.
Throws:
EICLException - Forwards the Exception thrown by the constructor of the HPAI object.

Method Details

getEndPoint

public HPAI getEndPoint()
Returns the end point HPAI
Returns:
The end point HPAI

toByteArray

public byte[] toByteArray()
            throws EICLException
Returns the byte array representation of this packet
Returns:
The byte array message.
Throws:
EICLException -