Remote Systems
v6.4.1

com.ibm.etools.systems.dstore.core.client
Class ClientReceiver

java.lang.Object
  extended byjava.lang.Thread
      extended bycom.ibm.etools.systems.dstore.core.util.Receiver
          extended bycom.ibm.etools.systems.dstore.core.client.ClientReceiver
All Implemented Interfaces:
Runnable

public class ClientReceiver
extends Receiver


Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.dstore.core.util.Receiver
_canExit, _dataStore
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ClientReceiver(Socket socket, DataStore dataStore)
          Constructor
 
Method Summary
 void handleDocument(DataElement documentObject)
          Called when new data is received from the server side.
 void handleError(Throwable e)
          Called when an error occurs
 
Methods inherited from class com.ibm.etools.systems.dstore.core.util.Receiver
canExit, finish, handleInput, run, socket
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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

Copyright

public static final String Copyright
See Also:
Constant Field Values
Constructor Detail

ClientReceiver

public ClientReceiver(Socket socket,
                      DataStore dataStore)
Constructor

Method Detail

handleDocument

public void handleDocument(DataElement documentObject)
Called when new data is received from the server side.

Specified by:
handleDocument in class Receiver
Parameters:
documentObject - the root object of incoming data

handleError

public void handleError(Throwable e)
Called when an error occurs

Specified by:
handleError in class Receiver
Parameters:
e - the exception that occurred

Remote Systems
v6.4.1

Copyright © 2005 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.