tuwien.auto.calimero.link.medium
Class TP1LData

java.lang.Object
  extended by tuwien.auto.calimero.link.medium.RawFrameBase
      extended by tuwien.auto.calimero.link.medium.TP1LData
All Implemented Interfaces:
RawFrame

public class TP1LData
extends RawFrameBase

L-data frame format on TP1 communication medium.

Supports standard and extended frame format.


Field Summary
 
Fields inherited from class tuwien.auto.calimero.link.medium.RawFrameBase
dst, ext, fcs, hopcount, p, repetition, src, tpdu, type
 
Fields inherited from interface tuwien.auto.calimero.link.medium.RawFrame
ACK_FRAME, LDATA_FRAME, LPOLLDATA_FRAME
 
Constructor Summary
TP1LData(byte[] data, int offset)
          Creates a new L-data frame out of a byte array.
 
Method Summary
 java.lang.String toString()
           
 
Methods inherited from class tuwien.auto.calimero.link.medium.RawFrameBase
getChecksum, getDestination, getFrameType, getHopcount, getPriority, getSource, getTPDU, isRepetition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TP1LData

public TP1LData(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 frame
offset - start offset of frame structure in data, offset >= 0
Throws:
KNXFormatException - if length of data too short for frame, on no valid frame structure
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class RawFrameBase