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

Quick Search    Search Deep

cips.server.phone
Class RouterEngine  view RouterEngine download RouterEngine.java

java.lang.Object
  extended byjava.lang.Thread
      extended bycips.server.phone.RouterEngine
All Implemented Interfaces:
java.lang.Runnable
Direct Known Subclasses:
ZyxelISDN

public class RouterEngine
extends java.lang.Thread

Class RouterEngine ----------------- This is the engine that listens for incoming messages from the router.

Version:
$Id: RouterEngine.java,v 1.3 2000/08/08 17:33:15 hallski Exp $

Nested Class Summary
 
Nested classes inherited from class java.lang.Thread
java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
private  byte[] buffer
          Variables *
private  java.net.DatagramPacket dp
           
private  java.net.DatagramSocket ds
           
protected  java.util.Vector listenerList
           
private  java.io.File logFile
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
RouterEngine(java.io.File logFile)
           
RouterEngine(int portNr)
          Describe constructor here.
 
Method Summary
 void addListener(PhoneListener rl)
          addListener
protected  void processIncoming(java.lang.String s)
           
 void removeListener(PhoneListener rl)
          removeListener
 void run()
          run
private  void runDs()
           
private  void runLf()
           
 
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

buffer

private byte[] buffer
Variables *


ds

private java.net.DatagramSocket ds

dp

private java.net.DatagramPacket dp

logFile

private java.io.File logFile

listenerList

protected java.util.Vector listenerList
Constructor Detail

RouterEngine

public RouterEngine(int portNr)
Describe constructor here.


RouterEngine

public RouterEngine(java.io.File logFile)
Method Detail

run

public void run()
run


runLf

private void runLf()

runDs

private void runDs()

addListener

public void addListener(PhoneListener rl)
addListener


removeListener

public void removeListener(PhoneListener rl)
removeListener


processIncoming

protected void processIncoming(java.lang.String s)