|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.bt747.test.models.mtk.commands.Acknowledge
public class Acknowledge
Represents an acknowledge package to send.
Constructor Summary | |
---|---|
Acknowledge(java.lang.String[] nmea)
|
|
Acknowledge(java.lang.String[] nmea,
int status)
|
Method Summary | |
---|---|
void |
execute(GPSrxtx context)
Do what needs to be done for the specific command. |
boolean |
hasAck()
If true, requires acknowledge. |
boolean |
mustBeFirstInQueue()
Indicates if the transmit queue must be entirely purged before this command is sent (or not). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Acknowledge(java.lang.String[] nmea, int status)
public Acknowledge(java.lang.String[] nmea)
Method Detail |
---|
public void execute(GPSrxtx context)
GpsLinkExecCommand
execute
in interface GpsLinkExecCommand
context
- A reference to the link on which this command operates.public boolean mustBeFirstInQueue()
GpsLinkExecCommand
mustBeFirstInQueue
in interface GpsLinkExecCommand
public boolean hasAck()
GpsLinkExecCommand
hasAck
in interface GpsLinkExecCommand
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |