IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.servlet
Class CSReceiveProtocolThread

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

public class CSReceiveProtocolThread
extends java.lang.Thread

The CSReceiveProtocolThread class implements the receive method. It is responsible for retrieving data from the SendEventsBuffer.


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 java.lang.String _httpErrorCode
           
protected  boolean clientTimeouted
          This field indicates if the method wich has called the run of this thread has reached its own timeout.
protected  boolean later
          Indicates if a receiveNowOrNever or a receiveNowOrLater has been produced.
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
CSReceiveProtocolThread()
          This constructor creates a CSReceiveProtocolThread object.
CSReceiveProtocolThread(Context myContext, java.lang.Integer id, CSClient myCSClient)
          This constructor creates a CSReceiveProtocolThread object.
CSReceiveProtocolThread(java.lang.Integer id, CSClient myCSClient)
          This constructor creates a CSReceiveProtocolThread object.
CSReceiveProtocolThread(java.lang.Runnable target)
          This constructor creates a CSReceiveProtocolThread object.
CSReceiveProtocolThread(java.lang.Runnable target, java.lang.String name)
          This constructor creates a CSReceiveProtocolThread object.
CSReceiveProtocolThread(Semaphore aSem, ClientOperation aClientOperation, java.lang.Integer id, CSClient myCSClient)
          This constructor creates a CSReceiveProtocolThread object.
CSReceiveProtocolThread(Semaphore aSem, Context myContext, java.lang.Integer id, CSClient myCSClient)
          This constructor creates a CSReceiveProtocolThread object.
CSReceiveProtocolThread(java.lang.String name)
          This constructor creates a CSReceiveProtocolThread object.
CSReceiveProtocolThread(java.lang.ThreadGroup group, java.lang.Runnable target)
          This constructor creates a CSReceiveProtocolThread object.
CSReceiveProtocolThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name)
          This constructor creates a CSReceiveProtocolThread object.
CSReceiveProtocolThread(java.lang.ThreadGroup group, java.lang.String name)
          This constructor creates a CSReceiveProtocolThread object.
 
Method Summary
 boolean getClientTimeouted()
          Returns the clientTimeouted field, a description of this field can be found in the field's definition
 java.lang.String getExceptionName()
          Gets the _exceptionName property (java.lang.String) value.
 java.lang.String getHttpErrorCode()
          Gets the _httpErrorCode property (java.lang.String) value.
 java.lang.Integer getIdNumber()
          Gets the _id property (java.lang.Integer) value.
 boolean getLater()
          Gets the later value.
 java.lang.String getSideIndicator()
          Gets the _sideIndicator property (java.lang.String) value.
protected  boolean isContextUpdated()
           
 void run()
          Receives data from the SendEventsBuffer.
 void setClientTimeouted(boolean newClientTimeouted)
          Sets the clientTimeouted field, a description of this field can be found in the field's definition
 void setId(java.lang.Integer id)
          Sets the _id property (java.lang.Integer) value.
 void setLater(boolean b)
          Sets the later 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
 

Field Detail

_httpErrorCode

public java.lang.String _httpErrorCode

clientTimeouted

protected boolean clientTimeouted
This field indicates if the method wich has called the run of this thread has reached its own timeout. If yes, doesn´t need to continue the process, there's nobody waiting for the results.


later

protected boolean later
Indicates if a receiveNowOrNever or a receiveNowOrLater has been produced.

Constructor Detail

CSReceiveProtocolThread

public CSReceiveProtocolThread()
This constructor creates a CSReceiveProtocolThread object.


CSReceiveProtocolThread

public CSReceiveProtocolThread(java.lang.Integer id,
                               CSClient myCSClient)
This constructor creates a CSReceiveProtocolThread object.

Parameters:
id - java.lang.Integer

CSReceiveProtocolThread

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

Parameters:
target - java.lang.Runnable

CSReceiveProtocolThread

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

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

CSReceiveProtocolThread

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

Parameters:
name - java.lang.String

CSReceiveProtocolThread

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

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

CSReceiveProtocolThread

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

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

CSReceiveProtocolThread

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

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

CSReceiveProtocolThread

public CSReceiveProtocolThread(Semaphore aSem,
                               ClientOperation aClientOperation,
                               java.lang.Integer id,
                               CSClient myCSClient)
This constructor creates a CSReceiveProtocolThread object.

Parameters:
aClientOperation - com.ibm.dse.base.ClientOperation
id - java.lang.Integer
myCSClient - com.ibm.dse.clientserver.CSClient

CSReceiveProtocolThread

public CSReceiveProtocolThread(Semaphore aSem,
                               Context myContext,
                               java.lang.Integer id,
                               CSClient myCSClient)
This constructor creates a CSReceiveProtocolThread object.

Parameters:
aContext - Context
id - java.lang.Integer
myCSClient - com.ibm.dse.clientserver.CSClient

CSReceiveProtocolThread

public CSReceiveProtocolThread(Context myContext,
                               java.lang.Integer id,
                               CSClient myCSClient)
This constructor creates a CSReceiveProtocolThread object.

Parameters:
aContext - Context
id - java.lang.Integer
myCSClient - com.ibm.dse.clientserver.CSClient
Method Detail

getClientTimeouted

public boolean getClientTimeouted()
Returns the clientTimeouted field, a description of this field can be found in the field's definition

Returns:
boolean

getExceptionName

public java.lang.String getExceptionName()
Gets the _exceptionName property (java.lang.String) value.

Returns:
java.lang.String

getIdNumber

public java.lang.Integer getIdNumber()
Gets the _id property (java.lang.Integer) value.

Returns:
java.lang.Integer

getSideIndicator

public java.lang.String getSideIndicator()
Gets the _sideIndicator property (java.lang.String) value.

Returns:
java.lang.String

isContextUpdated

protected boolean isContextUpdated()
Returns:
boolean

run

public void run()
Receives data from the SendEventsBuffer.

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

setClientTimeouted

public void setClientTimeouted(boolean newClientTimeouted)
Sets the clientTimeouted field, a description of this field can be found in the field's definition

Parameters:
newClientTimeouted - boolean

setId

public void setId(java.lang.Integer id)
Sets the _id property (java.lang.Integer) value.

Parameters:
id - java.lang.Integer

getHttpErrorCode

public java.lang.String getHttpErrorCode()
Gets the _httpErrorCode property (java.lang.String) value.

Returns:
java.lang.String

getLater

public boolean getLater()
Gets the later value.

Returns:
boolean

setLater

public void setLater(boolean b)
Sets the later value.

Parameters:
b - boolean

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2010