Class semper.payment.PurseReference
All Packages Class Hierarchy This Package Previous Next Index
Class semper.payment.PurseReference
java.lang.Object
|
+----semper.payment.PurseReference
- public class PurseReference
- extends Object
- implements Streamable
A unified reference to purse object
- Version:
- $Revision: 1.9 $ $Date: 1996/08/19 18:21:27 $
- Author:
- N. Asokan ([email protected])
- See Also:
- Purse
-
PurseReference()
- Constructor without args
-
PurseReference(String)
-
-
PurseReference(String, Purse, AccessName)
-
-
getHandle()
- Get the archive handle of this purse.
-
getName()
- Get the purse name.
-
getPurse()
- Get a handle to this purse.
-
myStreamSize()
- Implementing the Streamable interface
-
readObject(StreamInputInterface)
- Implementing the Streamable interface
-
setPurseHandle(AccessName)
- reset archive handle for this purse.
-
toString()
- rewrite toString() to suit our needs
-
writeObject(StreamOutputInterface)
- Implementing the Streamable interface
PurseReference
public PurseReference(String purse_name,
Purse purse_reference,
AccessName purse_handle)
- Parameters:
- purse_name - distinguished name of a purse
- purse_reference - object reference to this purse
- purse_handle - archive handle of this purse
PurseReference
public PurseReference(String purse_name)
- Parameters:
- purse_name - distinguished name of a purse
PurseReference
public PurseReference()
- Constructor without args
toString
public String toString()
- rewrite toString() to suit our needs
- Overrides:
- toString in class Object
setPurseHandle
public synchronized void setPurseHandle(AccessName handle) throws PaymentServiceException
- reset archive handle for this purse.
- Parameters:
- s - handle new archive handle
- Throws: PaymentServiceException
- if the new status cannot be
written to the archive.
getPurse
public Purse getPurse() throws PaymentServiceException
- Get a handle to this purse.
- Returns:
- purse object
- Throws: PaymentServiceException
- if purse retrieval from
archive failed.
- See Also:
- Purse
getName
public String getName()
- Get the purse name.
- Returns:
- distinguished name of purse
getHandle
public AccessName getHandle()
- Get the archive handle of this purse.
- Returns:
- archive handle of purse
writeObject
public void writeObject(StreamOutputInterface s) throws StreamIOException
- Implementing the Streamable interface
- Throws: StreamIOException
- as usual
readObject
public void readObject(StreamInputInterface s) throws StreamIOException
- Implementing the Streamable interface
myStreamSize
public int myStreamSize() throws StreamIOException
- Implementing the Streamable interface
All Packages Class Hierarchy This Package Previous Next Index