Class semper.commlayer.CLServices
All Packages Class Hierarchy This Package Previous Next Index
Class semper.commlayer.CLServices
java.lang.Object
|
+----semper.commlayer.CLServices
- public class CLServices
- extends Object
This commerce layer interface defines the abstract generic class for the
services the commerce layer should provide.
- Version:
- $Revision: 1.6 $ $Date: 1996/09/10 10:08:29 $
- Author:
- Ulrich Einig ([email protected]), Karsten Riede ([email protected])
-
CL_ACCEPTED
-
-
CL_FAILED
-
-
CL_NOT_ACCEPTED
-
-
CL_SUCCESS
-
-
CLServices()
- Constructor of the basic service class used by all commerce layer
services.
-
receive(CLConnection)
- Method to receive data, a general receive for all kinds of elecronic
transaction is to be found as an extra subclass named CLReceive.
-
send(CLConnection, String, CLContentData, Security)
- Method to send data with special attributes to a remote SEMPER BA.
CL_SUCCESS
public final static int CL_SUCCESS
CL_FAILED
public final static int CL_FAILED
CL_ACCEPTED
public final static int CL_ACCEPTED
CL_NOT_ACCEPTED
public final static int CL_NOT_ACCEPTED
CLServices
public CLServices()
- 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
send
public abstract int send(CLConnection connection,
String ba_description,
CLContentData data,
Security sattr) throws CLException
- Method to send data with special attributes to a remote SEMPER BA.
It is to be overridden by any new service provided by the commerce
layer package.
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.
- 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
used service.
- sattr - reference to a object containing all
relevant security attributes for the order (can be set by the
BA).
- Returns:
- returns status of send transactions
- Throws: CLException
- A serious error occured
during attempts to send
a container.
- See Also:
- CLReceive, CLOrder, CLOrderConfirm, CLPay, CLOrderPay, CLOrderPayConfirm, CLOffer, CLOfferRequest, CLContentData, CLConnection, CLContentData, CLException, Security
receive
public abstract CLContentData receive(CLConnection connection) throws CLException
- Method to receive data, a general receive for all kinds of elecronic
transaction is to be found as an extra subclass named CLReceive.
This receive-function may be overriden in for services who will use
only one kind of data.
long description with pre/post-conditions etc follows here
- Parameters:
- connection - object representing the connection to be used to receive
data from a remote host.
- Returns:
- returns received data.
- Throws: CLException
- A serious error occured
during attempts to receive
a container.
- See Also:
- CLReceive, CLOrder, CLOrderConfirm, CLPay, CLOrderPay, CLOrderPayConfirm, CLOffer, CLOfferRequest, CLContentData, CLConnection, CLContentData, CLException, Security
All Packages Class Hierarchy This Package Previous Next Index