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
-
getInfo()
- Returns a html string that contains some information about the
Bargainer BApp
-
getName()
- This method informs the callee about the name of the BApp
-
startExecution(String, String)
- Method which starts the Bargainer BApp from the client site
-
startExecution(TXContext, String)
- Method which starts the Bargainer BApp at the server site
-
stopExecution()
- Method called from the BargainerWorker in order to stop
the execution of the Bargainer BApp
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
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
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
getName
public abstract String getName()
- This method informs the callee about the name of the BApp
- Returns:
- value the BApp class name
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