IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base
Interface ServerOperation

All Superinterfaces:
Cacheable, Operation
All Known Implementing Classes:
BTTServerOperation, DSEHtmlProcessorOperation, EventManagerServerOperation

public interface ServerOperation
extends Operation

ServerOperation interface extends Operation. This is the interface for any operation that may be launched in the server side in a client/server relationship.

Any object implementing this interface must provide the format to be applied when sending the replied data to the client side. It also must provide the entry point that the server side of the client/Server Mechanism calls to provide the session identifier of the client/server communication.


Method Summary
 FormatElement getCSReplyFormat()
          Returns the csReplyFormat formatElement of the formats Hashtable.
 java.lang.String getOriginWorkstation()
          Returns the identifier of the requester workstation.
 void runInSession(java.lang.String aSessionID)
          Looks for the input session in the table of sessions (see the Context interface).
 void setCSReplyFormat(FormatElement aFormat)
          This method sets the csReplyFormat formatElement of the formats Hashtable to aFormat.
 void setOriginWorkstation(java.lang.String wks)
          Sets the identifier of the requester workstation.
 
Methods inherited from interface com.ibm.btt.base.Operation
addElement, addOperationRepliedListener, chainTo, close, execute, getApplicationId, getContext, getContextName, getElementAt, getFormat, getFormats, getKeyedCollection, getName, getParent, getService, getType, getValueAt, isChained, prune, removeAt, removeOperationRepliedListener, setApplicationId, setContext, setContextName, setKeyedCollection, setName, setType, setValueAt, unchain, xValidate
 
Methods inherited from interface com.ibm.btt.base.Cacheable
isCacheable, reinitialize
 

Method Detail

getCSReplyFormat

FormatElement getCSReplyFormat()
Returns the csReplyFormat formatElement of the formats Hashtable.

Returns:
com.ibm.btt.base.FormatElement

getOriginWorkstation

java.lang.String getOriginWorkstation()
Returns the identifier of the requester workstation.

Returns:
java.lang.String

setCSReplyFormat

void setCSReplyFormat(FormatElement aFormat)
This method sets the csReplyFormat formatElement of the formats Hashtable to aFormat.

Parameters:
aFormat - com.ibm.btt.base.FormatElement

setOriginWorkstation

void setOriginWorkstation(java.lang.String wks)
Sets the identifier of the requester workstation.

Parameters:
wks - java.lang.String

runInSession

void runInSession(java.lang.String aSessionID)
                  throws java.lang.Exception
Looks for the input session in the table of sessions (see the Context interface). Once this method finds it, the method stores the identifier of the originating workstation and calls the execute() method of the operation.

Throws:
java.lang.Exception

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009