Class semper.commlayer.CLOrderPayConfirm
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class semper.commlayer.CLOrderPayConfirm

java.lang.Object
   |
   +----semper.commlayer.CLServices
           |
           +----semper.commlayer.CLOrderPayConfirm

public class CLOrderPayConfirm
extends CLServices
These methods are called from the SEMPER BAs on Client and Server side (Client does a CLOrderPayConfirm.send , Server does a CLOrderPayConfirm.receive). An order and the payment for it will be sent from Buyer to Seller on Buyer's confirmation.
Version:
$Revision: 1.5 $ $Date: 1996/08/29 14:54:33 $
Author:
Ulrich Einig ([email protected]), Karsten Riede ([email protected])

Constructor Index

 o CLOrderPayConfirm()
Constructor.

Method Index

 o receive(CLConnection)
Service to receive an electronic order and the payment for it.
 o send(CLConnection, String, CLContentData, Security)
Service to send an electronic order and pay it.

Constructors

 o CLOrderPayConfirm
  public CLOrderPayConfirm()
Constructor. long description with pre/post-conditions etc follows here

Methods

 o send
  public int send(CLConnection connection,
                  String ba_description,
                  CLContentData data,
                  Security sattr) throws CLException
Service to send an electronic order and pay it. This service works like the CLOrderPay service with the limitation that the user has to perform a confirmation via TINGUIN. Once confirmed, the order with its payment for it will be sent to the Server.
Parameters:
connection - object representing the connection to be used to send data to the remote host.
ba_description - very short informal description of the BA which can be used to identify the BA on the TINGUIN.
data - reference to an object containing all data for the order and payment confirmation.
sattr - reference to a object containing all relevant security attributes for the order (can be set by the BA).
Returns:
returns status of order-pay-confirm transactions
Throws: CLException
A serious error occured during attempts to send a container.
Overrides:
send in class CLServices
See Also:
CLServices, CLOrder, CLOrderPay, CLConnection, CLContentData, CLException, Security
 o receive
  public CLContentData receive(CLConnection connection) throws CLException
Service to receive an electronic order and the payment for it. Works like CLOrderPay.receive. A data container will be received and its contents will be delivered to the calling BA.
Parameters:
connection - object representing the connection to be used to send data to the remote host.
Returns:
returns status of order-pay-confirm transactions
Throws: CLException
A serious error occured during attempts to receive a container.
Overrides:
receive in class CLServices
See Also:
CLServices, CLOrder, CLOrderPay, CLConnection, CLContentData, CLException, Security

All Packages  Class Hierarchy  This Package  Previous  Next  Index