|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
com.ibm.etools.systems.dstore.core.model.Handler
com.ibm.etools.systems.dstore.core.model.UpdateHandler
com.ibm.etools.systems.dstore.core.client.ClientUpdateHandler
The ClientUpdateHandler is contains a queue of data update requests and periodically sends out domain notifications to domain listeners
Field Summary | |
---|---|
static String |
Copyright
|
Fields inherited from class com.ibm.etools.systems.dstore.core.model.UpdateHandler |
---|
_dataObjects |
Fields inherited from class com.ibm.etools.systems.dstore.core.model.Handler |
---|
_dataStore, _waitIncrement |
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
ClientUpdateHandler()
Constructor |
Method Summary | |
---|---|
void |
sendKeepAliveConfirmation()
Does not apply in this case. |
void |
sendKeepAliveRequest()
Does not apply in this case. |
void |
sendUpdates()
Periodically called to notify domain listeners of updated data from the server |
void |
updateAppendFile(String path,
byte[] bytes,
int size,
boolean binary)
Not applicable - this is only applicable on the server side |
void |
updateAppendFile(String path,
byte[] bytes,
int size,
boolean binary,
String byteStreamHandlerId)
Not applicable - this is only applicable on the server side |
void |
updateFile(File file,
DataElement object)
Notifies domain listeners that a file has been updated |
void |
updateFile(String path,
byte[] bytes,
int size,
boolean binary)
Not applicable - this is only applicable on the server side |
void |
updateFile(String path,
byte[] bytes,
int size,
boolean binary,
String byteStreamHandlerId)
Not applicable - this is only applicable on the server side |
Methods inherited from class com.ibm.etools.systems.dstore.core.model.UpdateHandler |
---|
clean, clean, handle, update, update, update |
Methods inherited from class com.ibm.etools.systems.dstore.core.model.Handler |
---|
finish, getWaitTime, isFinished, run, setDataStore, setWaitTime |
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 |
public static final String Copyright
Constructor Detail |
public ClientUpdateHandler()
Method Detail |
public void updateFile(String path, byte[] bytes, int size, boolean binary)
updateFile
in class UpdateHandler
path
- the path of the file to sendbytes
- the bytes to sendsize
- the number of bytes to sendbinary
- indicates whether to send the bytes as binary or textpublic void updateAppendFile(String path, byte[] bytes, int size, boolean binary)
updateAppendFile
in class UpdateHandler
path
- the path of the file to sendbytes
- the bytes to sendsize
- the number of bytes to sendbinary
- indicates whether to send the bytes as binary or textpublic void updateFile(String path, byte[] bytes, int size, boolean binary, String byteStreamHandlerId)
updateFile
in class UpdateHandler
path
- the path of the file to sendbytes
- the bytes to sendsize
- the number of bytes to sendbinary
- indicates whether to send the bytes as binary or textbyteStreamHandlerId
- indicates the byte stream handler to receive the bytespublic void updateAppendFile(String path, byte[] bytes, int size, boolean binary, String byteStreamHandlerId)
updateAppendFile
in class UpdateHandler
path
- the path of the file to sendbytes
- the bytes to sendsize
- the number of bytes to sendbinary
- indicates whether to send the bytes as binary or textbyteStreamHandlerId
- indicates the byte stream handler to receive the bytespublic void updateFile(File file, DataElement object)
file
- the updated fileobject
- the element associated with the updated filepublic void sendUpdates()
sendUpdates
in class UpdateHandler
public void sendKeepAliveRequest()
sendKeepAliveRequest
in class UpdateHandler
public void sendKeepAliveConfirmation()
sendKeepAliveConfirmation
in class UpdateHandler
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |