|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcz.zcu.fav.kiv.cs.CSServer
This class represents the main server. Every submodel connects to him.
| Field Summary | |
static int |
numberOfProc
The number of all CSProcesses in the distributed simulation. |
static int |
numberOfSimul
The number of all simulation submodels in the distributed simulation. |
static double |
timeWindow
No submodel can advance its local simulation time more than this value ahead of another process. |
| Constructor Summary | |
CSServer(int port)
Creates the server and connects him to the specified port. |
|
| Method Summary | |
static void |
main(java.lang.String[] args)
The main method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static int numberOfProc
public static int numberOfSimul
public static double timeWindow
| Constructor Detail |
public CSServer(int port)
throws java.io.IOException
port - int Requested port.| Method Detail |
public static void main(java.lang.String[] args)
args - String[] Should be: port, number of processes, number of submodels and time window.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||