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

Quick Search    Search Deep

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

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

class ProxySlave
extends java.lang.Thread


Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  ProxySlave friend
           
private  org.lucane.common.Message init
           
private  org.lucane.common.ObjectConnection oc
           
private  Proxy parent
           
private  org.lucane.common.ConnectInfo user
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ProxySlave(Proxy parent, java.net.Socket s)
          Creates a new ProxySlave object.
 
Method Summary
private  void forward()
          Forward a socket connection to a client
private  void readMessage()
          Read a line on the socket
 void run()
          Used 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

oc

private org.lucane.common.ObjectConnection oc

parent

private Proxy parent

friend

private ProxySlave friend

init

private org.lucane.common.Message init

user

private org.lucane.common.ConnectInfo user
Constructor Detail

ProxySlave

public ProxySlave(Proxy parent,
                  java.net.Socket s)
Creates a new ProxySlave object.

Method Detail

run

public void run()
Used to be run as a new Thread


readMessage

private void readMessage()
Read a line on the socket


forward

private void forward()
Forward a socket connection to a client