Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.lucane.proxy
Class Forwarder  view Forwarder download Forwarder.java

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.lucane.proxy.Forwarder
All Implemented Interfaces:
java.lang.Runnable

public class Forwarder
extends java.lang.Thread

A forwarder simply writes to an OutputStream what it has read in an InputStream


Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  org.lucane.common.ObjectConnection read
           
(package private)  org.lucane.common.ObjectConnection write
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
Forwarder(org.lucane.common.ObjectConnection read, org.lucane.common.ObjectConnection write)
          Creates a new Forwarder object.
 
Method Summary
 void run()
          Usefull to be run as a new Thread.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, 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

read

org.lucane.common.ObjectConnection read

write

org.lucane.common.ObjectConnection write
Constructor Detail

Forwarder

public Forwarder(org.lucane.common.ObjectConnection read,
                 org.lucane.common.ObjectConnection write)
Creates a new Forwarder object.

Method Detail

run

public void run()
Usefull to be run as a new Thread. Copy a stream to another