tuwien.auto.calimero.link.medium
Class PL110LData
java.lang.Object
tuwien.auto.calimero.link.medium.RawFrameBase
tuwien.auto.calimero.link.medium.PL110LData
- All Implemented Interfaces:
- RawFrame
public class PL110LData
- extends RawFrameBase
L-data frame format on PL110 communication medium.
Supports standard and extended frame format.
|
Constructor Summary |
PL110LData(byte[] data,
int offset)
Creates a new L-data frame out of a byte array. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
PL110LData
public PL110LData(byte[] data,
int offset)
throws KNXFormatException
- Creates a new L-data frame out of a byte array.
- Parameters:
data - byte array containing the L-data frameoffset - start offset of frame structure in data, offset >=
0
- Throws:
KNXFormatException - if length of data too short for frame, on no valid frame
structure
getDomainAddress
public final byte[] getDomainAddress()
- Returns the domain address of this frame.
The address is returned in network byte order.
- Returns:
- domain address as byte array of length 2
toString
public java.lang.String toString()
- Overrides:
toString in class RawFrameBase