edu.umn.cs.crisys
Class ASW.DOIStatusMessage
java.lang.Object
|
+--edu.umn.cs.crisys.RSM.Message
|
+--edu.umn.cs.crisys.ASW.DOIStatusMessage
- Enclosing class:
- ASW
- protected static class ASW.DOIStatusMessage
- extends edu.umn.cs.crisys.RSM.Message
Structure of DOI Status message received as input by the ASW.
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)
Parses in an array of (one) objects into an DOI Status message. |
java.lang.Object[] |
writeMessage()
Writes out DOI status as an Integer object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
status
public ASW.DOIStatusType status
- Current DOI status is the only message field.
msg
protected java.lang.Object[] msg
ASW.DOIStatusMessage
public ASW.DOIStatusMessage()
- Constructor.
readMessage
public void readMessage(java.lang.Object[] fields)
- Parses in an array of (one) objects into an DOI Status message.
- Overrides:
readMessage
in class edu.umn.cs.crisys.RSM.Message
writeMessage
public java.lang.Object[] writeMessage()
- Writes out DOI status as an Integer object.
- Overrides:
writeMessage
in class edu.umn.cs.crisys.RSM.Message
- Returns:
- an array of one object containing the DOI Status as Integer.
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.