com.ibm.etools.systems.dstore.core.server
Class ServerReceiver
java.lang.Object
java.lang.Thread
com.ibm.etools.systems.dstore.core.util.Receiver
com.ibm.etools.systems.dstore.core.server.ServerReceiver
- All Implemented Interfaces:
- Runnable
- public class ServerReceiver
- extends Receiver
The ServerReciever is responsible for recieving data from
the client side.
Method Summary |
void |
finish()
Called when a DataStore connection is terminated. |
void |
handleDocument(DataElement documentObject)
Implementation for handling the receiving on documents on
the server side. |
void |
handleError(Throwable e)
Implemented to provide a means of handling errors in the communication layer |
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 |
Copyright
public static final String Copyright
- See Also:
- Constant Field Values
ServerReceiver
public ServerReceiver(Socket socket,
ConnectionEstablisher connection)
- Constructor
- Parameters:
socket
- the socket to receive fromconnection
- the connection establisher
handleDocument
public void handleDocument(DataElement documentObject)
- Implementation for handling the receiving on documents on
the server side.
- Specified by:
handleDocument
in class Receiver
- Parameters:
documentObject
- to tree root of received data.
finish
public void finish()
- Description copied from class:
Receiver
- Called when a DataStore connection is terminated.
- Overrides:
finish
in class Receiver
handleError
public void handleError(Throwable e)
- Description copied from class:
Receiver
- Implemented to provide a means of handling errors in the communication layer
- Specified by:
handleError
in class Receiver
- Parameters:
e
- an exception that occurred- See Also:
Receiver.finish()
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.