tuwien.auto.eicl.struct.eibnetip

Class Description_Request


public class Description_Request
extends java.lang.Object

This class is used to create an EIBnet/IP description request message. The byte stream representation can be obtained through the toByteArray() method. In reply to this message a description response is sent. Use the Discoverer class to automate this process.
See Also:
Description_Response, Discoverer

Constructor Summary

Description_Request(int _LocalPort)
Creates a new Description request message, with the local port parameter.

Method Summary

HPAI
getEndpoint()
Get the client end point
byte[]
toByteArray()
Get the message as byte array.

Constructor Details

Description_Request

public Description_Request(int _LocalPort)
            throws EICLException
Creates a new Description request message, with the local port parameter.
Parameters:
_LocalPort - The local client data end point port.
Throws:
EICLException - Forwards the HPAI exception.
See Also:
HPAI

Method Details

getEndpoint

public HPAI getEndpoint()
Get the client end point
Returns:
client end point

toByteArray

public byte[] toByteArray()
            throws EICLException
Get the message as byte array.
Returns:
The message as byte array
Throws:
EICLException - Forwards the IOException.