IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.event
Class RemoteEventProcessorServer

java.lang.Object
  extended by com.ibm.btt.event.RemoteEventProcessorServer

public class RemoteEventProcessorServer
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 COPYRIGHT
           
protected static java.lang.String STR_EMPTY
          Empty string
protected static java.lang.String STR_NULL
          Null string
protected static java.lang.String STR_QUESTION_MARK
          Question mark
 
Constructor Summary
RemoteEventProcessorServer()
          Constructor for RemoteEventProcessorServer.
RemoteEventProcessorServer(java.net.Socket s)
          Constructor for RemoteEventProcessorServer.
 
Method Summary
protected  void processDataToSend(java.io.DataOutputStream data, DSEEventObject event)
          Reads from the underlying input stream and creates the event.
 void processDataToSend(DSEEventObject event)
          Gets the socket output stream and invokes processDataSend
 
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

STR_EMPTY

protected static final java.lang.String STR_EMPTY
Empty string

See Also:
Constant Field Values

STR_NULL

protected static final java.lang.String STR_NULL
Null string

See Also:
Constant Field Values

STR_QUESTION_MARK

protected static final java.lang.String STR_QUESTION_MARK
Question mark

See Also:
Constant Field Values
Constructor Detail

RemoteEventProcessorServer

public RemoteEventProcessorServer()
Constructor for RemoteEventProcessorServer.


RemoteEventProcessorServer

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

Parameters:
s - The socket
Method Detail

processDataToSend

protected void processDataToSend(java.io.DataOutputStream data,
                                 DSEEventObject event)
                          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
Throws:
java.lang.Exception - Error reading the received data

processDataToSend

public void processDataToSend(DSEEventObject event)
                       throws java.lang.Exception
Gets the socket output stream and invokes processDataSend

Parameters:
event - The event to be sent
Throws:
java.lang.Exception - Error reading the received data

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2009