A C G M N R S U V Z

A

action() - Method in class ChatClientProtokoll
Nutzereingaben, Eingabe und Versenden von Nachrichten.
anzahl - Static variable in class ChatServerProtokoll
Clientzaehler

C

c - Variable in class ChatClientProtokoll
Socket fuer Serververbindung
ChatClient - Class in <Unnamed>
Client fuer Chatroom, erzeugt Client-Socket fuer Kommunikation mit angegebenen Server über angegebenen Port und wickelt Protokoll ab.
ChatClient() - Constructor for class ChatClient
 
ChatClientProtokoll - Class in <Unnamed>
Protokoll eines Clients, zeigt Nachrichten vom Server an und schickt Nachrichten zum Server.
ChatClientProtokoll(Socket) - Constructor for class ChatClientProtokoll
Konstruktor, baut Datenstroeme zum/vom Server auf.
ChatModel - Class in <Unnamed>
Model fuer Chatroom, speichert letzte Nachricht.
ChatModel() - Constructor for class ChatModel
 
ChatServer - Class in <Unnamed>
Server fuer Chatroom, erzeugt einen ServerSocket mit angegebenen Port, wartet auf Client, erzeugt Socket fuer Kommunikation und startet Protokoll fuer Client.
ChatServer() - Constructor for class ChatServer
 
ChatServerProtokoll - Class in <Unnamed>
Steuert Interaktion zwischen Server und Client, ueberwacht ChatModel (Original).
ChatServerProtokoll(Socket, ChatModel) - Constructor for class ChatServerProtokoll
Konstruktor, baut Ueberwachungsmechanismus und Datenstroeme zum/vom Client auf.

G

getNachricht() - Method in class ChatModel
Lesen der Nachricht.

M

main(String[]) - Static method in class ChatClient
 
main(String[]) - Static method in class ChatServer
 
model - Variable in class ChatServerProtokoll
Model, Original serverseitig.

N

nachricht - Variable in class ChatModel
Zuletzt gesendete Nachricht bzw.
nr - Variable in class ChatServerProtokoll
Nummer des Client

R

release() - Method in class ChatClientProtokoll
Beendet ChatClient, meldet Abbruch dem Server, bricht Verbindung zum Server ab, bricht Programm ab.
release() - Method in class ChatServerProtokoll
Schliesst Verbindung zum Client, setzt Model zurueck.
run() - Method in class ChatClientProtokoll
Interaktion, liest und verarbeitet Nachrichten vom Server.
run() - Method in class ChatServerProtokoll
Interaktion, liest und verarbeitet Nachrichten vom Client.

S

s - Variable in class ChatServerProtokoll
Socket fuer Clientverbindung
setNachricht(String) - Method in class ChatModel
Schreiben der Nachricht, synchronisiert.

U

update(Observable, Object) - Method in class ChatServerProtokoll
Ueberschreibt Interfacemethode update des Observer, teilt Client Aenderung im Modell mit.

V

vomClient - Variable in class ChatServerProtokoll
Eingabestrom vom Client
vomServer - Variable in class ChatClientProtokoll
Eingabestrom vom Server

Z

zumClient - Variable in class ChatServerProtokoll
Ausgabestrom zum Client
zumServer - Variable in class ChatClientProtokoll
Ausgabestrom zum Server

A C G M N R S U V Z