|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.dse.cs.servlet.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. |
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. |
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. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
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.SemaphoreMethod Detail |
public void addCSAsynchronousReplyListener(CSAsynchronousReplyListener newListener)
newListener
- com.ibm.dse.clientserver.CSAsynchronousReplyListenerpublic void ClientProcess() throws java.lang.Exception
protected void fireHandleCSAsynchronousReplyEvent(CSAsynchronousReplyEvent event)
event
- com.ibm.dse.clientserver.CSAsynchronousReplyEventpublic CSClient getCSClient()
protected boolean getIsAsynchronous()
public void removeCSAsynchronousReplyListener(CSAsynchronousReplyListener newListener)
newListener
- CSAsynchronousReplyListenerpublic void run()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |