jimm.twice.ice.xml
Class GetPackage

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

public class GetPackage
extends Message

A get-package request.

Author:
Jim Menard, jimm@io.com

Field Summary
 
Fields inherited from class jimm.twice.ice.xml.Message
node
 
Constructor Summary
GetPackage(java.lang.String subscriptionId)
          Constructor.
GetPackage(java.lang.String subscriptionId, java.lang.String state)
          Constructor.
 
Method Summary
 void setCurrentState(java.lang.String state)
           
 
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
 

Constructor Detail

GetPackage

public GetPackage(java.lang.String subscriptionId)
Constructor. If subscriptionId is the string "1" then this is a request for a list of offers (a catalog).

Parameters:
subscriptionId - subscription id as a string; if "1" then this is a request for a list of offers (a catalog)

GetPackage

public GetPackage(java.lang.String subscriptionId,
                  java.lang.String state)
Constructor. If subscriptionId is the string "1" then this is a request for a catalog (a list of offers).

Parameters:
subscriptionId - subscription id as a string; if "1" then this is a request for a list of offers (a catalog)
state - current state; may be null
Method Detail

setCurrentState

public void setCurrentState(java.lang.String state)