IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.event
Class NotificationEventsBuffer

java.lang.Object
  extended by com.ibm.btt.event.Buffer
      extended by com.ibm.btt.event.NotificationEventsBuffer

public class NotificationEventsBuffer
extends Buffer

The NotificationEventsBuffer class is used to implement event notifications from the server to the client. For each workstation ID, it stores the list of events to be sent from the server to the client. It is located on the server side.


Field Summary
static java.lang.String COPYRIGHT
           
 
Constructor Summary
NotificationEventsBuffer()
           
 
Method Summary
 java.lang.Object calculateValueToAdd(java.lang.Object oldValue, java.lang.Object newValue)
          Adds the second parameter to the first parameter and returns it.
 java.util.Vector get(java.lang.String wk, long timeout)
          Returns the value to which the specified key is mapped in this buffer.
static NotificationEventsBuffer getCurrentInstance()
          Gets the _current_instance property (com.ibm.btt.event.NotificationEventsBuffer) value.
 void put(java.lang.String wk, java.util.EventObject event)
          Maps the specified key to the specified value in this buffer.
static void setCurrentInstance(NotificationEventsBuffer buffer)
          Sets the _current_instance property (com.ibm.btt.event.NotificationEventsBuffer) value.
 
Methods inherited from class com.ibm.btt.event.Buffer
getAndRemove, getAndRemoveWithTimeout, put, putAndSignalOn
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT
See Also:
Constant Field Values
Constructor Detail

NotificationEventsBuffer

public NotificationEventsBuffer()
Method Detail

calculateValueToAdd

public java.lang.Object calculateValueToAdd(java.lang.Object oldValue,
                                            java.lang.Object newValue)
Adds the second parameter to the first parameter and returns it.

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

get

public java.util.Vector get(java.lang.String wk,
                            long timeout)
Returns the value to which the specified key is mapped in this buffer. If the key is not mapped to any value waits with a timeout.

Parameters:
key - java.lang.String
timeout - long
Returns:
Vector

getCurrentInstance

public static NotificationEventsBuffer getCurrentInstance()
Gets the _current_instance property (com.ibm.btt.event.NotificationEventsBuffer) value.

Returns:
com.ibm.btt.event.NotificationEventsBuffer

put

public void put(java.lang.String wk,
                java.util.EventObject event)
Maps the specified key to the specified value in this buffer.

Parameters:
wk - java.lang.String
event - java.util.EventObject

setCurrentInstance

public static void setCurrentInstance(NotificationEventsBuffer buffer)
Sets the _current_instance property (com.ibm.btt.event.NotificationEventsBuffer) value.

Parameters:
buffer - com.ibm.btt.event.NotificationEventsBuffer

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009