Adds a contact, which information is found in the manageContactPanel, to the Contact List.
If the UIN is not already found in the Contact List, it is added and a proper message is sent to
the CSICQ server.
Defines the behavior of the Applet in the Functional state.
In the Functional state all controls are enabled (besides the Login Panel) and the listening thread is activated.
Sends A LoginRequest to the CSICQ Server.
Since this method is taking place in the Event Thread and also involves a relativly long
wait (for the server response).
Implements the CSICQ Message oriented stream over an InputStream.
To receive new message on the stream call the blocking receive method.
The data encapsulation is according to the CSICQ protocol.
Operating Princple:
When receive is called the message length is read from the Input Stream then whole of the data is read into a temporary
buffer which is attached as the inputStream of the super class
Implements the CSICQ Message oriented stream over an OutputStream.
Using the stream is done in the following way:
The message is written using OutputStream methods and a special writeText method of this class.
Removes a contact, which information is found in the manageContactPanel, of the Contact List.
If the UIN is found in the Contact List, it is removed and a RemoveContact message is sent to
the CSICQ server.
Write a String to the stream according to the CSICQ protocol.
Data written on stream:
String size
actual string with every 16 bit character truncated to 8 bit.