org.openmodelica.simulation.core.network
Class SimulationControlServer

java.lang.Object
  extended by java.lang.Thread
      extended by org.openmodelica.simulation.core.network.SimulationControlServer
All Implemented Interfaces:
java.lang.Runnable

public class SimulationControlServer
extends java.lang.Thread

Simulation Control Server is a TCP/IP based communication unit to receive operation messages from a simulation runtime As default the ip of a simulation runtime control server is localhost (127.0.0.1) and the port is 10500. The user can change the port

Author:
EADS Innovation Works, Parham Vasaiely, Parham.Vasaiely@gmx.de

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
 
Field Summary
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SimulationControlServer()
          Create ControlServer using the default port number of 10500 for transferring operations
SimulationControlServer(int server_port)
          Create ControlServer using a user defined port number for transferring operations
 
Method Summary
 void run()
           
 
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
 

Constructor Detail

SimulationControlServer

public SimulationControlServer()
Create ControlServer using the default port number of 10500 for transferring operations

Parameters:
manager -

SimulationControlServer

public SimulationControlServer(int server_port)
Create ControlServer using a user defined port number for transferring operations

Parameters:
manager -
Method Detail

run

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