ePOST API

rice.post.proxy
Class PostProxy.LivenessThread

java.lang.Object
  extended by java.lang.Thread
      extended by rice.post.proxy.PostProxy.LivenessThread
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
PostProxy

protected class PostProxy.LivenessThread
extends java.lang.Thread


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
protected  byte[] buffer1
           
protected  byte[] buffer2
           
protected  PostProxy.LivenessKeyHandler handler
           
protected  java.io.InputStream in
           
protected  java.io.OutputStream out
           
protected  java.nio.channels.Pipe.SinkChannel sink
           
protected  java.nio.channels.Pipe.SourceChannel source
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
PostProxy.LivenessThread(Environment env)
           
 
Method Summary
 void run()
           
 
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

in

protected java.io.InputStream in

out

protected java.io.OutputStream out

sink

protected java.nio.channels.Pipe.SinkChannel sink

source

protected java.nio.channels.Pipe.SourceChannel source

buffer1

protected byte[] buffer1

buffer2

protected byte[] buffer2

handler

protected PostProxy.LivenessKeyHandler handler
Constructor Detail

PostProxy.LivenessThread

public PostProxy.LivenessThread(Environment env)
                         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

ePOST API

Copyright © 2001-2005 - Rice Pastry.