All Packages Class Hierarchy This Package Previous Next Index
Class rcs.nml.NMLmsg
java.lang.Object
|
+----rcs.nml.NMLmsg
- public abstract class NMLmsg
- extends Object
This is the abstract base class of all messages sent or
recieved via NML.
Source Code:
NMLmsg.java
- Author:
- Will Shackleford -- shackle@cme.nist.gov
-
type
- Unique Identifier for the type of message
-
NMLmsg(int)
-
This constructor is to be used by derived types.
-
update(NMLFormatConverter)
-
This function should be overloaded to provide a function
that will convert this message to a nuetral format that can
be used, by many different types of hosts.
type
public int type
- Unique Identifier for the type of message
NMLmsg
public NMLmsg(int _type)
- This constructor is to be used by derived types.
Example:
class MY_MSG extends NMLmsg
{
int i;
double d;
public MY_MSG()
{
super(1001);
}
}
- Parameters:
- _type - Unique Identifier for the type of message
update
public void update(NMLFormatConverter nml_fc)
- This function should be overloaded to provide a function
that will convert this message to a nuetral format that can
be used, by many different types of hosts.
- Parameters:
- nml_fc - NMLFormatConverter that provides functions for updating
all of the basic data types.
All Packages Class Hierarchy This Package Previous Next Index