edu.umn.cs.crisys
Class ASW.EmptyMessage

java.lang.Object
  |
  +--edu.umn.cs.crisys.RSM.Message
        |
        +--edu.umn.cs.crisys.ASW.EmptyMessage
Enclosing class:
ASW

protected static class ASW.EmptyMessage
extends edu.umn.cs.crisys.RSM.Message

Empty message - no fields. Received on the Reset interface.


Field Summary
protected  java.lang.Object[] msg
           
 
Constructor Summary
ASW.EmptyMessage()
          Constructor.
 
Method Summary
 void printMessage(java.io.PrintStream str, java.lang.String header)
          Utility method to print message to streams.
 void readMessage(java.lang.Object[] fields)
          Does nothing.
 java.lang.Object[] writeMessage()
          Does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msg

protected java.lang.Object[] msg
Constructor Detail

ASW.EmptyMessage

public ASW.EmptyMessage()
Constructor.
Method Detail

readMessage

public void readMessage(java.lang.Object[] fields)
Does nothing.
Overrides:
readMessage in class edu.umn.cs.crisys.RSM.Message

writeMessage

public java.lang.Object[] writeMessage()
Does nothing.
Overrides:
writeMessage in class edu.umn.cs.crisys.RSM.Message
Returns:
An array containing no elements.

printMessage

public void printMessage(java.io.PrintStream str,
                         java.lang.String header)
Utility method to print message to streams. This prints the number of fields and each field along with its corresponding Java object type. Calls writeMessage to convert the RSML-e mesage to raw objects. Derived classes may override this method, especially, if enumerations have to be printed as their descriptive strings.