next up previous contents
Next: Listening Thread Up: Client Previous: State   Contents

Server Connection

Connection to the CSICQ server is handled by the ServerConnection class. The Server Connection is a message oriented network connection to the server. The Server Connection is responsible for creating the TCP socket to the CSICQ server as well as sending and receiving messages from the CSICQ server.

It attaches two classes: MessageInputStream and MessageOutputStream to the raw TCP Stream. These two stream classes, along with the Message classes, enable a modular and convenient transportation of CSICQ protocol messages to and from the server.



Zvika Brakerski 2001-05-09