gps.mvc.commands.mtk
Class MtkBinCommand

java.lang.Object
  extended by gps.mvc.commands.mtk.MtkBinCommand
All Implemented Interfaces:
GpsLinkExecCommand

public class MtkBinCommand
extends java.lang.Object
implements GpsLinkExecCommand

Author:
Mario

Constructor Summary
MtkBinCommand(MtkBinTransportMessageModel msg)
           
 
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

MtkBinCommand

public MtkBinCommand(MtkBinTransportMessageModel msg)
Method Detail

mustBeFirstInQueue

public boolean mustBeFirstInQueue()
Description copied from interface: GpsLinkExecCommand
Indicates if the transmit queue must be entirely purged before this command is sent (or not).

Specified by:
mustBeFirstInQueue in interface GpsLinkExecCommand
Returns:
true if queue must be purged.

execute

public final void execute(GPSrxtx context)
Description copied from interface: GpsLinkExecCommand
Do what needs to be done for the specific command.

Specified by:
execute in interface GpsLinkExecCommand
Parameters:
context - A reference to the link on which this command operates.

hasAck

public boolean hasAck()
Description copied from interface: GpsLinkExecCommand
If true, requires acknowledge.

Specified by:
hasAck in interface GpsLinkExecCommand
Returns:
true if the command requires an acknowledgde.