All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class guinea.ui.remote.RemoteCommand

java.lang.Object
   |
   +----guinea.ui.remote.RemoteCommand

public class RemoteCommand
extends Object
implements Serializable

Variable Index

· command
The command number.
· serial
Serial number or id of this message.
· target
The target of this message.
· wantACK
Other end wants an ACK for this command.

Constructor Index

· RemoteCommand(int)
· RemoteCommand(int, int, String)
· RemoteCommand(int, int, String, boolean)

Method Index

· getCommand()
Get the command id number of this command.
· getSerial()
Get the serial number of this command.
· getTarget()
Get the name of the target object this message is for.
· toString()
Returns a string representation of the object.
· wantACK()
Is a ACK wanted for this command?

Variables

· serial
 public int serial
Serial number or id of this message.

· command
 public int command
The command number.

· target
 public String target
The target of this message.

· wantACK
 public boolean wantACK
Other end wants an ACK for this command.

Constructors

· RemoteCommand
 public RemoteCommand(int serial,
                      int command,
                      String target,
                      boolean ack)
· RemoteCommand
 public RemoteCommand(int serial,
                      int command,
                      String target)
· RemoteCommand
 public RemoteCommand(int command)

Methods

· getSerial
 public int getSerial()
Get the serial number of this command.

Returns:
a command serial number.
· getCommand
 public int getCommand()
Get the command id number of this command.

Returns:
a command id number.
· getTarget
 public String getTarget()
Get the name of the target object this message is for.

Returns:
the name of the target object.
· wantACK
 public boolean wantACK()
Is a ACK wanted for this command?

Returns:
true if an ACK is wanted, false if not.
· toString
 public String toString()
Returns a string representation of the object.

Overrides:
toString in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index