Class ObstacleServer

java.lang.Object
  extended byObstacleServer

public class ObstacleServer
extends java.lang.Object

Author:
bachmaer Obstacle server.

Nested Class Summary
(package private)  class ObstacleServer.ObstacleServerThread
           
 
Field Summary
(package private)  int clientCount
           
(package private)  int[][] obstacleData
           
(package private) static int SERVER_PORT
           
 
Constructor Summary
ObstacleServer()
          Contains a infinite loop that used to alternately multicasts location messages and listens for clients.
 
Method Summary
static void main(java.lang.String[] args)
          Driver for starting the obstacle server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

obstacleData

int[][] obstacleData

clientCount

int clientCount

SERVER_PORT

static final int SERVER_PORT
See Also:
Constant Field Values
Constructor Detail

ObstacleServer

public ObstacleServer()
Contains a infinite loop that used to alternately multicasts location messages and listens for clients. A separate thread is spawned to communicate with each client

Method Detail

main

public static void main(java.lang.String[] args)
Driver for starting the obstacle server.

Parameters:
args -