All Packages Class Hierarchy This Package Previous Next Index
Class semper.commerce.RespondentDeal
java.lang.Object
|
+----semper.commerce.Deal
|
+----semper.commerce.ActiveDeal
|
+----semper.commerce.RespondentDeal
- public class RespondentDeal
- extends ActiveDeal
This class is instantiated by a business application acting as a server
waiting for another business application to request the creation of a
new commerce deal or reactivation of an existing deal. An object of
this type can only be used when a session with a corresponding
InitiatorDeal
object has been established.
- Version:
- $Id: RespondentDeal.java,v 1.14 1998/10/06 06:54:17 semper Exp $
- Author:
- Rolf Michelsen, Stig Mj�lsnes
- See Also:
- InitiatorDeal, SuspendedDeal
-
RespondentDeal(TXContext, DealQuality)
- Reactivates an existing deal or creates a new active deal by responding
to an indication from a peer business application.
-
RespondentDeal(TXContext, String, DealQuality)
- Old constructor provided for compatibilty with previous versions.
Deprecated.
RespondentDeal
public RespondentDeal(TXContext context,
DealQuality providedQuality) throws AssociationException, QualityException, DealException
- Reactivates an existing deal or creates a new active deal by responding
to an indication from a peer business application. A session will be
established with the peer
InitiatorDeal
object.
The set of quality attributes given as a parameter to the constructor
specifies the business application's required quality settings for the
deal. The actual quality settings will be a combination of this
requirement and the requirement of the user. The user requirements are
maintained by the commerce layer.
- Parameters:
- context - TX layer context for establishing a session with
the peer.
- quality - Deal quality settings.
- Throws: AssociationException
- Thrown if something is wrong with the association with the peer.
- Throws: QualityException
- Thrown if the quality settings of the service provider
(business application) and user (commerce layer) are
incompatible.
- Throws: DealException
- Thrown if an error occurs while handling the deal object.
RespondentDeal
public RespondentDeal(TXContext context,
String myName,
DealQuality quality) throws AssociationException, QualityException, DealException
- Note: RespondentDeal() is deprecated.
Use the constructor without the myName parameter.
- Old constructor provided for compatibilty with previous versions. With
recent changes to the TX layer there is no need to specify myName
to this constructor. This constructor is still supported for
compatibility with other modules. The provided value for myName
is just discarded.
- Parameters:
- context - TX layer context for establishing a session with
the peer.
- myName - Ignored.
- quality - Deal quality settings.
- Throws: AssociationException
- Thrown if something is wrong with the association with the peer.
- Throws: QualityException
- Thrown if the quality settings of the service provider
(business application) and user (commerce layer) are
incompatible.
- Throws: DealException
- Thrown if an error occurs while handling the deal object.
All Packages Class Hierarchy This Package Previous Next Index