tuwien.auto.calimero.link.medium
Class TP1Ack

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

public class TP1Ack
extends RawAckBase

Raw acknowledge frame on TP1 communication medium.


Field Summary
static int BUSY
          Acknowledge type busy.
static int NAK_BUSY
          Acknowledge type RawAckBase.NAK and BUSY.
 
Fields inherited from class tuwien.auto.calimero.link.medium.RawAckBase
ack, ACK, NAK
 
Fields inherited from interface tuwien.auto.calimero.link.medium.RawFrame
ACK_FRAME, LDATA_FRAME, LPOLLDATA_FRAME
 
Constructor Summary
TP1Ack(byte[] data, int offset)
          Creates a new TP1 acknowledge frame out of a byte array.
 
Method Summary
 java.lang.String toString()
          Returns a textual representation of the acknowledge frame information.
 
Methods inherited from class tuwien.auto.calimero.link.medium.RawAckBase
getAckType, getFrameType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BUSY

public static final int BUSY
Acknowledge type busy.

The remote data link layer does not have resources to process the request.

See Also:
RawAckBase.getAckType(), Constant Field Values

NAK_BUSY

public static final int NAK_BUSY
Acknowledge type RawAckBase.NAK and BUSY.

This acknowledge shall be handled as acknowledge of type busy.

See Also:
RawAckBase.getAckType(), Constant Field Values
Constructor Detail

TP1Ack

public TP1Ack(byte[] data,
              int offset)
       throws KNXFormatException
Creates a new TP1 acknowledge frame out of a byte array.

Parameters:
data - byte array containing the acknowledge frame
offset - start offset of frame structure in data, offset >= 0
Throws:
KNXFormatException - if no valid acknowledge frame was found
Method Detail

toString

public java.lang.String toString()
Description copied from class: RawAckBase
Returns a textual representation of the acknowledge frame information.

Overrides:
toString in class RawAckBase
Returns:
string representation of the object