Class SimulationServer

Implemented Interfaces:
Runnable, Simulation
Known Direct Subclasses:
SimServerDVMRP, SimServerRIP

public abstract class SimulationServer
extends Server
implements Simulation, Runnable

See Also:
Server, SimServerRIP, SimServerDVMRP, SimulationFrame, Simulation

Field Summary

SimulationFrame
f
static Image
routerImage
TextMethods
text
Lock
textChangeGuard
ThreadGroup
tg

Fields inherited from class .Server

DEBUG, connections, listener, scw, serverThread

Constructor Summary

SimulationServer(int port)

Method Summary

Image
getRouterImage()
TextMethods
getText()
ThreadGroup
getThreadGroup()
static void
main(String[] argv)
void
setText(TextMethods text)

Methods inherited from class .Server

run, sendEvent

Field Details

f

public SimulationFrame f

routerImage

public static Image routerImage

text

public TextMethods text

textChangeGuard

public Lock textChangeGuard

tg

public ThreadGroup tg

Constructor Details

SimulationServer

public SimulationServer(int port)

Method Details

getRouterImage

public Image getRouterImage()
Specified by:
getRouterImage in interface Simulation

getText

public TextMethods getText()
Specified by:
getText in interface Simulation

getThreadGroup

public ThreadGroup getThreadGroup()
Specified by:
getThreadGroup in interface Simulation

main

public static void main(String[] argv)

setText

public void setText(TextMethods text)
Specified by:
setText in interface Simulation