tuwien.auto.eicl.struct.eibnetip

Class Description_Response


public class Description_Response
extends java.lang.Object

This class parses a byte stream and initiates a description response. The second device description information block is optional, and thus not implemented. A description response is sent in answer to a description request by a server.
See Also:
Description_Request

Constructor Summary

Description_Response()
Creates an empty Description Response instance. (dummy constructor)
Description_Response(byte[] _Buffer)
Creates a description response by parsing a byte array.

Method Summary

Device_DIB
getDevice()
Get the device description information block contained in this message.
SUPPFAM_DIB
getSupportedFamilies()
Get the supported families description information block.

Constructor Details

Description_Response

public Description_Response()
Creates an empty Description Response instance. (dummy constructor)

Description_Response

public Description_Response(byte[] _Buffer)
            throws EICLException
Creates a description response by parsing a byte array. Pass all bytes after the EIBnet/IP header to this constructor.
Parameters:
_Buffer - The byte array starting after the EIBnet/IP header.
Throws:
EICLException - Forward the EICLException thrown by the Device_DIB and SUPPFAM_DIB class

Method Details

getDevice

public Device_DIB getDevice()
Get the device description information block contained in this message.
Returns:
The device description information block.

getSupportedFamilies

public SUPPFAM_DIB getSupportedFamilies()
Get the supported families description information block.
Returns:
The supported families description information block.