x10.net
Class ControllerServer

java.lang.Object
  extended byjava.lang.Thread
      extended byx10.net.ControllerServer
All Implemented Interfaces:
java.lang.Runnable

public class ControllerServer
extends java.lang.Thread

ControllerServer is a Network daemon for providing access to a Controller over a network.


Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
ControllerServer(Controller c, int port)
          ControllerServer constructs a new ControllerServer network daemon which provides access to the specified Controller on the specified port.
 
Method Summary
 void run()
          run loops and accepts connections from SocketControllers over a network.
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, 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
 

Constructor Detail

ControllerServer

public ControllerServer(Controller c,
                        int port)
ControllerServer constructs a new ControllerServer network daemon which provides access to the specified Controller on the specified port.

Parameters:
c - the Controller to provide network access to.
port - the TCP port that the daemon will listen for connections
Method Detail

run

public void run()
run loops and accepts connections from SocketControllers over a network. Each connection gets its own ServerDispatchProxy.

See Also:
ServerDispatchProxy, SocketController


Copyright ©2000-2005 Wade Wassenberg.
On the web: http://x10.homelinux.org.
Send bug reports to x10@wass.homelinux.net.
Last Modified June 1, 2005