A G L M R S U V Z

A

AmpelModel - Class in <Unnamed>
Simulation einer Ampelschaltung unter Verwendung des MVC-Tool.
AmpelModel() - Constructor for class AmpelModel
 
AmpelServer - Class in <Unnamed>
Server fuer Ampelschaltung, erzeugt einen ServerSocket mit angegebenen Port, wartet auf Client, erzeugt Socket fuer Kommunikation und startet Protokoll fuer Client.
AmpelServer() - Constructor for class AmpelServer
 
AmpelServerProtokoll - Class in <Unnamed>
Steuert Interaktion zwischen Server und Client, ueberwacht AmpelModel (Original).
AmpelServerProtokoll(Socket, AmpelModel) - Constructor for class AmpelServerProtokoll
Konstruktor, baut Ueberwachungsmechanismus und Datenstroeme zum/vom Client auf.

G

getLight(int) - Method in class AmpelModel
Lesen eines Ampellichtes.
getLight() - Method in class AmpelModel
Lesen des Ampelzustandes, benutzt Serverprotokoll.

L

light - Variable in class AmpelModel
Ampelzustand (rot, gelb, gruen), Startfarbe ist gelb.

M

main(String[]) - Static method in class AmpelServer
 
model - Variable in class AmpelServerProtokoll
Model, Original serverseitig.

R

release() - Method in class AmpelServerProtokoll
Schliesst Verbindung zum Client, setzt Model zurueck.
run() - Method in class AmpelServerProtokoll
Interaktion, liest und verarbeitet Nachrichten vom Client, "set" .. schaltet die Ampel, "quit" .. beendet das Programm.

S

s - Variable in class AmpelServerProtokoll
Socket fuer Clientverbindung.
send(boolean[]) - Method in class AmpelServerProtokoll
Sendet Ampelzustand zum Client.
setLight() - Method in class AmpelModel
Schalten der Ampel.
setLight(boolean[]) - Method in class AmpelModel
Setzen der Ampel, benutzt Clientprotokoll.

U

update(Observable, Object) - Method in class AmpelServerProtokoll
Ueberschreibt Interfacemethode update, teilt Client Aenderung im Model mit.

V

vomClient - Variable in class AmpelServerProtokoll
Eingabestrom vom Client.

Z

zumClient - Variable in class AmpelServerProtokoll
Ausgabestrom zum Client.

A G L M R S U V Z