Class SimulationClient

Implemented Interfaces:
Runnable, Simulation
Known Direct Subclasses:
SimClientDVMRP, SimClientRIP

public abstract class SimulationClient
extends Client
implements Simulation, Runnable

Die Klasse SimulationClient stellt die benoetigten Funktionen fuer die Fernsteuerung der Simulationen bereit.
See Also:
SimulationFrame, Client, SimClientRIP, SimClientDVMRP

Field Summary

SimulationFrame
f
Image
routerImage
static TextMethods
text
Lock
textChangeGuard
static ThreadGroup
tg

Fields inherited from class .Client

clientThread, connection, eventName

Constructor Summary

SimulationClient(String hostname, int port)

Method Summary

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

Methods inherited from class .Client

getEvent, run

Field Details

f

public SimulationFrame f

routerImage

public Image routerImage

text

public static TextMethods text

textChangeGuard

public Lock textChangeGuard

tg

public static ThreadGroup tg

Constructor Details

SimulationClient

public SimulationClient(String hostname,
                        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