tuwien.auto.eicl.struct.eibnetip.util
Class SUPPFAM_DIB
java.lang.Object
tuwien.auto.eicl.struct.eibnetip.util.SUPPFAM_DIB
public class SUPPFAM_DIB
extends java.lang.Object
This class implements the EIBnet/IP supported families description
information block (SUPPFAM_DIB). This structure is contained in the
Description response message.
SUPPFAM_DIB(byte[] _Body) - Creates a new object by parsing a byte array.
|
short | getStructlength() - Returns the length of the structure.
|
Enumeration | getSupportedFamilies() - Returns an enumeration of integer values describing the supported service
families (e.g., Tunnelling = 4, Routing = 5, ...)
|
int | getVersion(int _SupportedFamily) - Returns the version of a given service
|
SUPPFAM_DIB
public SUPPFAM_DIB(byte[] _Body)
throws EICLException
Creates a new object by parsing a byte array. If something goes wrong an
Exception is thrown
_Body
- The supported family DIB as byte array.
getStructlength
public short getStructlength()
Returns the length of the structure.
getSupportedFamilies
public Enumeration getSupportedFamilies()
Returns an enumeration of integer values describing the supported service
families (e.g., Tunnelling = 4, Routing = 5, ...) Their versions can be
retrieved using getVersion(int family)
- Supported families (as an Enumeration of Integer objects)
getVersion
public int getVersion(int _SupportedFamily)
Returns the version of a given service
_SupportedFamily
- the service