|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttuwien.auto.calimero.link.medium.RawAckBase
public abstract class RawAckBase
Implementation of common functionality for raw acknowledge frames.
Objects of this type are considered immutable.
| Field Summary | |
|---|---|
protected int |
ack
Type of acknowledge transmitted with this frame. |
static int |
ACK
Positive acknowledge type. |
static int |
NAK
Negative acknowledge type. |
| Fields inherited from interface tuwien.auto.calimero.link.medium.RawFrame |
|---|
ACK_FRAME, LDATA_FRAME, LPOLLDATA_FRAME |
| Constructor Summary | |
|---|---|
RawAckBase()
|
|
| Method Summary | |
|---|---|
int |
getAckType()
Returns the type of acknowledge transmitted with this frame. |
int |
getFrameType()
Returns the type of this frame. |
java.lang.String |
toString()
Returns a textual representation of the acknowledge frame information. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int ack
public static final int ACK
getAckType(),
Constant Field Valuespublic static final int NAK
getAckType(),
Constant Field Values| Constructor Detail |
|---|
public RawAckBase()
| Method Detail |
|---|
public final int getAckType()
public final int getFrameType()
RawFrame
getFrameType in interface RawFramepublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||