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

Class semper.commlayer.CLGeneral

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

public class CLGeneral
extends CLServices
This commerce layer class defines the general receive class for the send services the commerce layer should currently provide. This class provides a ready-to-use receive() method. The send method defined in here is _only_ a dummy due to the abstract classes' requirements and should _not_ be used.
Version:
$Revision: 1.5 $ $Date: 1996/11/05 16:50:56 $
Author:
Karsten Riede (riede@heidelbg.ibm.com)

Constructor Index

 o CLGeneral()
Constructor of the basic service class used by all commerce layer services.

Method Index

 o receive(CLConnection)
Method to receive all kinds of electronic transactions It is used by the server as a general receive.
 o send(CLConnection, String, CLContentData, Security)
Dummy method - not to be used herein!! long description with pre/post-conditions etc follows here

Constructors

 o CLGeneral
  public CLGeneral()
Constructor of the basic service class used by all commerce layer services. The constructor currently does not do anything yet. 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
Dummy method - not to be used herein!! long description with pre/post-conditions etc follows here
Returns:
returns status of send transactions
Throws: CLException
Declared due to abstract parent but never thrown since this function is only dummy, always returning CL_FAILED on invocation.
Overrides:
send in class CLServices
See Also:
CLContentData, Security
 o receive
  public CLContentData receive(CLConnection connection) throws CLException
Method to receive all kinds of electronic transactions It is used by the server as a general receive. It may be overriden in case there's only a determined choice of which sort of data is to be received. long description with pre/post-conditions etc follows here
Parameters:
connection - object representing the connection to be used to send data to the remote host.
Returns:
returns a reference to the order data structure
Throws: CLException
A serious error occured during an attempt to receive a container.
Overrides:
receive in class CLServices
See Also:
CLOrder, CLOrderConfirm, CLPay, CLOrderPay, CLOrderPayConfirm, CLOffer, CLOfferRequest, CLData, CLContentData

All Packages  Class Hierarchy  This Package  Previous  Next  Index