rcs.nml
Class NMLFormatConverter

java.lang.Object
rcs.nml.NMLFormatConverter
- Direct Known Subclasses:
- NMLFormatConverterBase
- public abstract class NMLFormatConverter
- extends java.lang.Object
interface each NMLmsg should use to implement it's update function.
|
Method Summary |
java.lang.String |
toString()
Convert this Object to a human-readable String. |
abstract byte |
update(byte x)
|
abstract void |
update(byte[] x,
int num_elements)
|
abstract char |
update(char x)
|
abstract void |
update(char[] x,
int num_elements)
|
abstract double |
update(double x)
|
abstract void |
update(double[] x,
int num_elements)
|
abstract float |
update(float x)
|
abstract void |
update(float[] x,
int num_elements)
|
abstract int |
update(int x)
|
abstract void |
update(int[] x,
int num_elements)
|
abstract long |
update(long x)
|
abstract void |
update(long[] x,
int num_elements)
|
abstract short |
update(short x)
|
abstract void |
update(short[] x,
int num_elements)
|
msg_to_update
public java.lang.Object msg_to_update
- Message being updated.
msg_type
public int msg_type
- The type of message being converted.
stat_msg_updated
public boolean stat_msg_updated
cmd_msg_updated
public boolean cmd_msg_updated
error_in_update
public boolean error_in_update
NMLFormatConverter
public NMLFormatConverter()
update
public abstract byte update(byte x)
update
public abstract void update(byte[] x,
int num_elements)
update
public abstract char update(char x)
update
public abstract void update(char[] x,
int num_elements)
update
public abstract short update(short x)
update
public abstract void update(short[] x,
int num_elements)
update
public abstract int update(int x)
update
public abstract void update(int[] x,
int num_elements)
update
public abstract long update(long x)
update
public abstract void update(long[] x,
int num_elements)
update
public abstract float update(float x)
update
public abstract void update(float[] x,
int num_elements)
update
public abstract double update(double x)
update
public abstract void update(double[] x,
int num_elements)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).