public class RCS_STAT_MSG extends NMLmsg
Related Documentation: RCS Library, NML Programmers Guide (Java Version)
| Modifier and Type | Field and Description |
|---|---|
long |
command_type
Subordinates ussually set this to the type of the command
they are currently executing or just completed.
|
int |
echo_serial_number
Subordinates ussually set this to the serial_number of the command
they are currently executing or just completed.
|
int |
line
Modules that use simple state tables ussually provide
the last line matched in the state table here.
|
static NML_ENUM_INFO |
nml_enum_info_for_RCS_STATUS |
static int |
RCS_DONE
Value for status if the module has completed the last command
it was given.
|
static int |
RCS_ERROR
Value for status if the module has encountered an error.
|
static int |
RCS_EXEC
Value for status if the module is still executing the last command
it was given.
|
byte[] |
source_file
Modules that use simple state tables may provide the
name of the source file of the state table that is
currently being used here.
|
int |
source_line
Modules that use simple state tables ussually provide
the last line matched in the state table here.
|
int |
state
Modules that use simple state tables ussually provide
the current state here.
|
int |
status
The status of the module is ussually set to either
UNINITIALIZED_STATUS, RCS_DONE, RCS_EXEC, or RCS_ERROR, depending on
whether the module is currently executing a command
or has encountered an error.
|
static int |
UNINITIALIZED_STATUS
Value for status if the module has not yet been initialized.
|
| Modifier | Constructor and Description |
|---|---|
protected |
RCS_STAT_MSG() |
|
RCS_STAT_MSG(int _type)
Derived classes should use this constructor by placing
super(_type) in the first line of thier constructors.
|
| Modifier and Type | Method and Description |
|---|---|
void |
update(NMLFormatConverter nml_fc)
update function for the RCS_STAT_MSG members.
|
public static NML_ENUM_INFO nml_enum_info_for_RCS_STATUS
public long command_type
public int echo_serial_number
public static final int UNINITIALIZED_STATUS
public static final int RCS_DONE
public static final int RCS_EXEC
public static final int RCS_ERROR
public int status
public int state
public int line
public int source_line
public byte[] source_file
protected RCS_STAT_MSG()
public RCS_STAT_MSG(int _type)
_type - the integer identifier of the derived classpublic void update(NMLFormatConverter nml_fc)