|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.btt.cs.servlet.CSReqProtocol
public class CSReqProtocol
The CSReqProtocol class implements the send method. It is responsible for sending data from the client to the server. It runs the operation on the server side, and makes the appropriate updates on the client side.
Field Summary | |
---|---|
protected CSAsynchronousReplyListener |
aCSAsynchronousReplyListener
Contains the listeners of the CSAsynchronousReplyEvent events. |
java.lang.String |
httpErrorCode
|
protected java.lang.String |
whenCode
|
Constructor Summary | |
---|---|
CSReqProtocol()
This constructor creates a CSReqProtocol object. |
|
CSReqProtocol(boolean mode,
ClientOperation aClientOperation,
java.lang.Integer id,
CSClient myCSClient,
Semaphore aSemaphore)
This constructor creates a CSReqProtocol object. |
Method Summary | |
---|---|
void |
addCSAsynchronousReplyListener(CSAsynchronousReplyListener newListener)
Adds the specified CSAsynchronousReplyListener to recieve CSAsynchronousReplyEvents from this class. |
void |
ClientProcess()
Sends data from the client to the server |
protected void |
fireHandleCSAsynchronousReplyEvent(CSAsynchronousReplyEvent event)
Method to support listener events. |
CSClient |
getCSClient()
Gets the _myCSClient property (com.ibm.dse.clientserver.servlet.CSClient) value. |
protected boolean |
getIsAsynchronous()
Gets the isAsynchronous property (boolean) value. |
java.lang.String |
getWhenCode()
Gets the Error Code. |
void |
removeCSAsynchronousReplyListener(CSAsynchronousReplyListener newListener)
Removes the specified CSAsynchronousReplyListener so that it no longer receives CSAsynchronousReplyEvents from this class. |
void |
run()
Sends data to the server. |
void |
setClientOperation(ClientOperation aOp)
Sets the Client Operation. |
void |
setCSClient(CSClient cs)
Sets the CSClient. |
void |
setId(java.lang.Integer aId)
Sets the Id. |
void |
setIsAsynchronousMode(boolean mode)
Sets if the RequestProtocol is working in asynchronous mode. |
void |
setSemaphore(Semaphore aSem)
Sets the Semaphore. |
void |
setWhenCode(java.lang.String aCode)
Sets the Error Code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String httpErrorCode
protected java.lang.String whenCode
protected transient CSAsynchronousReplyListener aCSAsynchronousReplyListener
Constructor Detail |
---|
public CSReqProtocol()
public CSReqProtocol(boolean mode, ClientOperation aClientOperation, java.lang.Integer id, CSClient myCSClient, Semaphore aSemaphore) throws java.lang.Exception
mode
- booleanaClientOperation
- ClientOperationid
- java.lang.IntegeraCSClient
- com.ibm.dse.clientserver.CSClientaSemaphore
- com.ibm.dse.base.Semaphore
java.lang.Exception
Method Detail |
---|
public void addCSAsynchronousReplyListener(CSAsynchronousReplyListener newListener)
newListener
- com.ibm.dse.clientserver.CSAsynchronousReplyListenerpublic void ClientProcess() throws java.lang.Exception
java.lang.Exception
protected void fireHandleCSAsynchronousReplyEvent(CSAsynchronousReplyEvent event)
event
- com.ibm.dse.clientserver.CSAsynchronousReplyEventpublic void setWhenCode(java.lang.String aCode)
aCode
- Stringpublic java.lang.String getWhenCode()
public void setIsAsynchronousMode(boolean mode)
mode
- booleanpublic void setId(java.lang.Integer aId)
aId
- Integerpublic void setClientOperation(ClientOperation aOp)
aOp
- ClientOperationpublic void setCSClient(CSClient cs)
cs
- CSClientpublic void setSemaphore(Semaphore aSem)
aSem
- Semaphorepublic CSClient getCSClient()
protected boolean getIsAsynchronous()
public void removeCSAsynchronousReplyListener(CSAsynchronousReplyListener newListener)
newListener
- CSAsynchronousReplyListenerpublic void run()
run
in interface java.lang.Runnable
|
IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |