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

Quick Search    Search Deep

cips.server
Class ClientConnection  view ClientConnection download ClientConnection.java

java.lang.Object
  extended byjava.lang.Thread
      extended bycips.server.ClientConnection
All Implemented Interfaces:
java.lang.Runnable

public class ClientConnection
extends java.lang.Thread

Class ClientConnection -----------------

Version:
$Id: ClientConnection.java,v 1.7 2000/08/04 11:30:58 hallski Exp $

Nested Class Summary
private  class ClientConnection.StatusListener
           
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  java.io.PrintWriter client
           
private  java.io.BufferedReader clientIn
           
private  PBaseConnection database
           
private  java.lang.String hostAddress
           
private  cips.server.phone.RouterEngine rEngine
           
private  ClientConnection.StatusListener rListen
           
private  java.net.Socket socket
          Variables *
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ClientConnection(java.net.Socket socket, cips.server.phone.RouterEngine rEngine, PBaseConnection database)
          Constructors *
 
Method Summary
 void println(java.lang.String str)
           
 void run()
          Methods *
private  void sendCalls(java.util.Vector calls)
           
private  void sendPersons(java.util.Vector persons)
           
 java.lang.String toString()
          Returns a string representation of this thread, including the thread's name, priority, and thread group.
 
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, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

socket

private java.net.Socket socket
Variables *


rEngine

private cips.server.phone.RouterEngine rEngine

client

private java.io.PrintWriter client

clientIn

private java.io.BufferedReader clientIn

rListen

private ClientConnection.StatusListener rListen

hostAddress

private java.lang.String hostAddress

database

private PBaseConnection database
Constructor Detail

ClientConnection

public ClientConnection(java.net.Socket socket,
                        cips.server.phone.RouterEngine rEngine,
                        PBaseConnection database)
Constructors *

Method Detail

run

public void run()
Methods *


toString

public java.lang.String toString()
Description copied from class: java.lang.Thread
Returns a string representation of this thread, including the thread's name, priority, and thread group.


println

public void println(java.lang.String str)

sendCalls

private void sendCalls(java.util.Vector calls)

sendPersons

private void sendPersons(java.util.Vector persons)