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

Quick Search    Search Deep

org.jgroups.protocols
Class FD_SOCK.ClientConnectionHandler  view FD_SOCK.ClientConnectionHandler download FD_SOCK.ClientConnectionHandler.java

java.lang.Object
  extended byjava.lang.Thread
      extended byorg.jgroups.protocols.FD_SOCK.ClientConnectionHandler
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
FD_SOCK

private static class FD_SOCK.ClientConnectionHandler
extends java.lang.Thread

Handles a client connection; multiple client can connect at the same time


Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
(package private)  java.net.Socket client_sock
           
(package private)  java.util.List clients
           
(package private)  java.io.InputStream in
           
(package private)  java.lang.Object mutex
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
(package private) FD_SOCK.ClientConnectionHandler(java.net.Socket client_sock, java.util.List clients)
           
 
Method Summary
(package private)  void closeClientSocket()
           
 void run()
          The method of Thread that will be run if there is no Runnable object associated with the Thread.
(package private)  void stopThread()
           
 
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

client_sock

java.net.Socket client_sock

in

java.io.InputStream in

mutex

final java.lang.Object mutex

clients

java.util.List clients
Constructor Detail

FD_SOCK.ClientConnectionHandler

FD_SOCK.ClientConnectionHandler(java.net.Socket client_sock,
                                java.util.List clients)
Method Detail

stopThread

void stopThread()

closeClientSocket

void closeClientSocket()

run

public void run()
Description copied from class: java.lang.Thread
The method of Thread that will be run if there is no Runnable object associated with the Thread. Thread's implementation does nothing at all.