|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Thread rice.post.proxy.NetworkLogUploadThread
public class NetworkLogUploadThread
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary | |
---|---|
protected byte[] |
buffer
|
protected java.net.InetSocketAddress |
host
|
protected java.security.PublicKey |
key
|
protected Logger |
logger
|
protected int |
pastry_port
|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
NetworkLogUploadThread(java.net.InetAddress localHost,
int port,
java.security.PublicKey key,
java.net.InetSocketAddress server,
Environment env)
|
Method Summary | |
---|---|
protected byte[] |
getHeader(java.io.File file)
|
java.net.InetAddress |
getLocalHost()
|
void |
run()
|
protected void |
sendFile(java.io.File file,
boolean delete)
|
void |
sendFiles()
|
protected void |
sleep()
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, 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 |
---|
protected java.net.InetSocketAddress host
protected byte[] buffer
protected java.security.PublicKey key
protected int pastry_port
protected Logger logger
Constructor Detail |
---|
public NetworkLogUploadThread(java.net.InetAddress localHost, int port, java.security.PublicKey key, java.net.InetSocketAddress server, Environment env)
Method Detail |
---|
public java.net.InetAddress getLocalHost()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
protected void sleep()
public void sendFiles() throws java.io.IOException
java.io.IOException
protected byte[] getHeader(java.io.File file)
protected void sendFile(java.io.File file, boolean delete) throws java.io.IOException
java.io.IOException
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |