All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface semper.dispatcher.BargainerImpl

public interface BargainerImpl
The BargainerImpl constitutes the basic functionallity that should be implemented from the Bargainer BApp in order to interact with the dispatcher module

Version:
$Revision: 1.1 $ $Date: 1998/07/13 17:32:44 $
Author:
Petros Pantis, Kostas Tzelepis

Method Index

 o getInfo()
Returns a html string that contains some information about the Bargainer BApp
 o getName()
This method informs the callee about the name of the BApp
 o startExecution(String, String)
Method which starts the Bargainer BApp from the client site
 o startExecution(TXContext, String)
Method which starts the Bargainer BApp at the server site
 o stopExecution()
Method called from the BargainerWorker in order to stop the execution of the Bargainer BApp

Methods

 o startExecution
 public abstract void startExecution(String host,
                                     String txId) throws Exception
Method which starts the Bargainer BApp from the client site

Parameters:
host - the host name of the server site
txId - the unique txlayer communication identifier
Throws: Exception
in case of unsucessfull invocation of the BargainerTest Bapp
 o startExecution
 public abstract void startExecution(TXContext tx,
                                     String clId) throws Exception
Method which starts the Bargainer BApp at the server site

Parameters:
tx - the txlayer connection point
clId - the unique txlayer-commerce communication identifier
Throws: Exception
in case of unsucessfull invocation of the BargainerTest Bapp
 o stopExecution
 public abstract boolean stopExecution()
Method called from the BargainerWorker in order to stop the execution of the Bargainer BApp

Returns:
value true on success
 o getName
 public abstract String getName()
This method informs the callee about the name of the BApp

Returns:
value the BApp class name
 o getInfo
 public abstract String getInfo()
Returns a html string that contains some information about the Bargainer BApp

Returns:
value a html text

All Packages  Class Hierarchy  This Package  Previous  Next  Index