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

Variable Index

 o type
Unique Identifier for the type of message

Constructor Index

 o NMLmsg(int)
This constructor is to be used by derived types.

Method Index

 o 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.

Variables

 o type
 public int type
Unique Identifier for the type of message

Constructors

 o 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

Methods

 o 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