at.davinci.control.socket
Class SocketController

java.lang.Object
  extended by java.lang.Thread
      extended by at.davinci.control.socket.SocketController
All Implemented Interfaces:
Controller, java.lang.Runnable

public class SocketController
extends java.lang.Thread
implements Controller


Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
static int DEFAULT_PORT
           
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SocketController()
           
SocketController(int port)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void run()
           
 void setKernelReference(DaVinciKernel kernel)
           
 void shutdown()
           
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEFAULT_PORT

public static final int DEFAULT_PORT
See Also:
Constant Field Values
Constructor Detail

SocketController

public SocketController()
                 throws SocketControllerException
Throws:
SocketControllerException

SocketController

public SocketController(int port)
                 throws SocketControllerException
Throws:
SocketControllerException
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class java.lang.Thread

main

public static void main(java.lang.String[] args)

setKernelReference

public void setKernelReference(DaVinciKernel kernel)
Specified by:
setKernelReference in interface Controller

shutdown

public void shutdown()
Specified by:
shutdown in interface Controller