IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.servlet
Class SendEventsBuffer

java.lang.Object
  extended by com.ibm.btt.cs.servlet.Buffer
      extended by com.ibm.btt.cs.servlet.SendEventsBuffer

public class SendEventsBuffer
extends Buffer

The SendEventsBuffer class is used to implement a remote operation execution. It is used to store the results of an asynchronous request. The received data from the server is stored for each request ID. It is located on the client side.


Constructor Summary
SendEventsBuffer()
           
 
Method Summary
 java.lang.Object calculateValueToAdd(java.lang.Object oldValue, java.lang.Object newValue)
          Returns the second value.
 java.lang.Object get(java.lang.Integer id)
          Returns the value to which the specified id is mapped in this buffer.
static SendEventsBuffer getCurrentInstance()
          Gets the _current_instance property (om.ibm.dse.clientserver.SendEventsBuffer) value.
 void put(java.lang.Integer id, java.lang.Object data)
          Maps the specified id to the specified value in this buffer.
static void setCurrentInstance(SendEventsBuffer buffer)
          Sets the _current_instance property (com.ibm.dse.clientserver.SendEventsBuffer) value.
 
Methods inherited from class com.ibm.btt.cs.servlet.Buffer
getAndRemove, getAndRemoveWithTimeout, put, putAndSignalOn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SendEventsBuffer

public SendEventsBuffer()
Method Detail

calculateValueToAdd

public java.lang.Object calculateValueToAdd(java.lang.Object oldValue,
                                            java.lang.Object newValue)
Returns the second value.

Specified by:
calculateValueToAdd in class Buffer
Parameters:
oldValue - Object
newValue - Object
Returns:
java.lang.Object

get

public java.lang.Object get(java.lang.Integer id)
Returns the value to which the specified id is mapped in this buffer. If the id is not mapped to any value waits.

Parameters:
id - java.lang.Integer
Returns:
java.lang.Object

getCurrentInstance

public static SendEventsBuffer getCurrentInstance()
Gets the _current_instance property (om.ibm.dse.clientserver.SendEventsBuffer) value.

Returns:
com.ibm.dse.clientserver.SendEventsBuffer

put

public void put(java.lang.Integer id,
                java.lang.Object data)
Maps the specified id to the specified value in this buffer.

Parameters:
id - java.lang.Integer
data - java.lang.Object

setCurrentInstance

public static void setCurrentInstance(SendEventsBuffer buffer)
Sets the _current_instance property (com.ibm.dse.clientserver.SendEventsBuffer) value.

Parameters:
buffer - com.ibm.dse.clientserver.SendEventsBuffer

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010