|
Remote System Explorer DataStore Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
org.eclipse.dstore.core.server.SecuredThread
org.eclipse.dstore.core.util.Receiver
org.eclipse.dstore.core.server.ServerReceiver
public class ServerReceiver
The ServerReciever is responsible for recieving data from the client side.
| Field Summary |
|---|
| Fields inherited from class org.eclipse.dstore.core.util.Receiver |
|---|
_canExit |
| Fields inherited from class org.eclipse.dstore.core.server.SecuredThread |
|---|
_dataStore |
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
ServerReceiver(java.net.Socket socket,
ConnectionEstablisher connection)
Constructor |
|
| 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(java.lang.Throwable e)
Implemented to provide a means of handling errors in the communication layer |
| Methods inherited from class org.eclipse.dstore.core.util.Receiver |
|---|
canExit, handleInput, preferenceChanged, resetKeepAliveRequest, run, socket |
| Methods inherited from class org.eclipse.dstore.core.server.SecuredThread |
|---|
setDataStore |
| 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 |
| Constructor Detail |
|---|
public ServerReceiver(java.net.Socket socket,
ConnectionEstablisher connection)
socket - the socket to receive fromconnection - the connection establisher| Method Detail |
|---|
public void handleDocument(DataElement documentObject)
handleDocument in class ReceiverdocumentObject - to tree root of received data.public void finish()
Receiver
finish in class Receiverpublic void handleError(java.lang.Throwable e)
Receiver
handleError in class Receivere - an exception that occurredReceiver.finish()
|
Remote System Explorer DataStore Release 3.3 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||