IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.cs.servlet
Class RemoteEventProcessorClient

java.lang.Object
  extended by com.ibm.btt.cs.servlet.RemoteEventProcessorClient

public class RemoteEventProcessorClient
extends java.lang.Object

The RemoteEventProcessor class is responsible for reading/writting a DSEEventObject using the socket that is defined as private attribute. If the event has parameters into its hashtable, it will only send those parameters that are Serializable.


Field Summary
static java.lang.String EVENT_NAME
          Default name assigned to the event
protected static java.lang.String STR_NULL
          Null string
 
Constructor Summary
RemoteEventProcessorClient()
          Constructor for RemoteEventProcessorClient.
RemoteEventProcessorClient(java.net.Socket s)
          Constructor for RemoteEventProcessorClient.
 
Method Summary
 DSEEventObject processDataReceived()
          Gets the socket input stream and invokes processDataReceived
protected  DSEEventObject processDataReceived(java.io.DataInputStream data)
          Reads from the underlying input stream and creates the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVENT_NAME

public static final java.lang.String EVENT_NAME
Default name assigned to the event

See Also:
Constant Field Values

STR_NULL

protected static final java.lang.String STR_NULL
Null string

See Also:
Constant Field Values
Constructor Detail

RemoteEventProcessorClient

public RemoteEventProcessorClient()
Constructor for RemoteEventProcessorClient.


RemoteEventProcessorClient

public RemoteEventProcessorClient(java.net.Socket s)
Constructor for RemoteEventProcessorClient.

Parameters:
Socket - The socket
Method Detail

processDataReceived

protected DSEEventObject processDataReceived(java.io.DataInputStream data)
                                      throws java.lang.Exception
Reads from the underlying input stream and creates the event. Data is read in the following order: even name, event source name, the number of parameters, and the parameters.

Parameters:
data - The data input stream
Returns:
DSEEventObject - The event recreated from the received data
Throws:
java.lang.Exception - Error reading the received data

processDataReceived

public DSEEventObject processDataReceived()
                                   throws java.lang.Exception
Gets the socket input stream and invokes processDataReceived

Returns:
DSEEventObject - The event recreated from the received data
Throws:
java.lang.Exception - Error reading the received data

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011