jimm.twice.ice.xml
Class Confirmation

java.lang.Object
  extended byjimm.twice.ice.xml.Message
      extended byjimm.twice.ice.xml.Confirmation

public class Confirmation
extends Message

A confirmation.

Author:
Jim Menard, jimm@io.com

Field Summary
static int PROCESSED
           
static int RECEIVED
           
 
Fields inherited from class jimm.twice.ice.xml.Message
node
 
Constructor Summary
Confirmation(java.lang.String packageId, int receivedOrProcessed)
          Constructor.
 
Methods inherited from class jimm.twice.ice.xml.Message
addChild, addChild, addChild, getAttribute, getNode, getTag, setAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RECEIVED

public static final int RECEIVED
See Also:
Constant Field Values

PROCESSED

public static final int PROCESSED
See Also:
Constant Field Values
Constructor Detail

Confirmation

public Confirmation(java.lang.String packageId,
                    int receivedOrProcessed)
             throws java.lang.IllegalArgumentException
Constructor. receivedOrProcessed must be one of RECEIVED or PROCESSED.

Parameters:
packageId - the package id
receivedOrProcessed - must be one of RECEIVED or PROCESSED
Throws:
java.lang.IllegalArgumentException - if receivedOrProcessed is not one of RECEIVED or PROCESSED