IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.servlet
Class CSNotifProtocolThread

java.lang.Object
  extended by java.lang.Thread
      extended by com.ibm.btt.cs.servlet.CSNotifProtocolThread
All Implemented Interfaces:
java.lang.Runnable

public class CSNotifProtocolThread
extends java.lang.Thread

The CSNotifProtocolThread class is used in notifications from the server to the client. It is started on the client side and runs forever.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CSNotifProtocolThread(CSClient aCSClient)
          This constructor creates a CSNotifProtocolThread object.
CSNotifProtocolThread(java.lang.Runnable target)
          This constructor creates a CSNotifProtocolThread object.
CSNotifProtocolThread(java.lang.Runnable target, java.lang.String name)
          This constructor creates a CSNotifProtocolThread object.
CSNotifProtocolThread(java.lang.String name)
          This constructor creates a CSNotifProtocolThread object.
CSNotifProtocolThread(java.lang.ThreadGroup group, java.lang.Runnable target)
          This constructor creates a CSNotifProtocolThread object.
CSNotifProtocolThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name)
          This constructor creates a CSNotifProtocolThread object.
CSNotifProtocolThread(java.lang.ThreadGroup group, java.lang.String name)
          This constructor creates a CSNotifProtocolThread object.
 
Method Summary
 boolean getAgain()
          Gets the again value.
 CSClient getCurrentInstanceCSClient()
          Gets the _current_instance_CSClient property (com.ibm.dse.clientserver.CSClient) value.
 void run()
          Receives notifications from the server.
 void setAgain(boolean newAgain)
          Sets the again attribute value.
 void setCurrentInstanceCSClient(CSClient myCSClient)
          Sets the _current_instance_CSClient property (com.ibm.dse.clientserver.CSClient) value.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CSNotifProtocolThread

public CSNotifProtocolThread(CSClient aCSClient)
This constructor creates a CSNotifProtocolThread object.


CSNotifProtocolThread

public CSNotifProtocolThread(java.lang.Runnable target)
This constructor creates a CSNotifProtocolThread object.

Parameters:
target - java.lang.Runnable

CSNotifProtocolThread

public CSNotifProtocolThread(java.lang.Runnable target,
                             java.lang.String name)
This constructor creates a CSNotifProtocolThread object.

Parameters:
target - java.lang.Runnable
name - java.lang.String

CSNotifProtocolThread

public CSNotifProtocolThread(java.lang.String name)
This constructor creates a CSNotifProtocolThread object.

Parameters:
name - java.lang.String

CSNotifProtocolThread

public CSNotifProtocolThread(java.lang.ThreadGroup group,
                             java.lang.Runnable target)
This constructor creates a CSNotifProtocolThread object.

Parameters:
group - java.lang.ThreadGroup
target - java.lang.Runnable

CSNotifProtocolThread

public CSNotifProtocolThread(java.lang.ThreadGroup group,
                             java.lang.Runnable target,
                             java.lang.String name)
This constructor creates a CSNotifProtocolThread object.

Parameters:
group - java.lang.ThreadGroup
target - java.lang.Runnable
name - java.lang.String

CSNotifProtocolThread

public CSNotifProtocolThread(java.lang.ThreadGroup group,
                             java.lang.String name)
This constructor creates a CSNotifProtocolThread object.

Parameters:
group - java.lang.ThreadGroup
name - java.lang.String
Method Detail

getAgain

public boolean getAgain()
Gets the again value.

Returns:
boolean

getCurrentInstanceCSClient

public CSClient getCurrentInstanceCSClient()
Gets the _current_instance_CSClient property (com.ibm.dse.clientserver.CSClient) value.

Returns:
com.ibm.dse.clientserver.CSClient

run

public void run()
Receives notifications from the server.

Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

setAgain

public void setAgain(boolean newAgain)
Sets the again attribute value.

Parameters:
newAgain - boolean

setCurrentInstanceCSClient

public void setCurrentInstanceCSClient(CSClient myCSClient)
Sets the _current_instance_CSClient property (com.ibm.dse.clientserver.CSClient) value.

Parameters:
myCSClient - com.ibm.dse.clientserver.CSClient

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011