-
Notifications
You must be signed in to change notification settings - Fork 0
Home
This is a chat experiment, created some years ago, to learn sockets, concurrency and syncronization in java , the code include the client and the server, runnable whit UI and from console, and a class used to connect the client to facebook chat, facebook chat no longer works beacause was created with reverse enginer of facebook site that was changed, but if you wont you can rewrite the connector and the client will works.
The code works well but lacks of documentation, that is largely in italian.
but expecially the client have many intersting features,
like emoticons support and theme support, so if you need to develop a client chat in Swing, this can be a very good starting point.
Morevoer, the builtin chat protocol xml based have some interesting features like file sending,
and can be a goode base if you need to implement your protocol.
If you wont use this coed i will happy to help you to start with.
Code is divided in differents projects:
MessengerCommons : contains common class between server and client.
MessengerClient contains code for the client UI
MessengerClientApplet contains an applet version of the client
MessengerAjax contains an ajax version of the client
MessengerClientCore contains core part of the client , this is the part tha contains code to connect tho standard server, if you want connect to facebook , use FacebookChatCore
FacebookChatCore This is the Facebook connector, and allowed chat to connect to Facebook , this no longer works, should be reimplemented to allow client to work with facebook.
MessengerEmoticons this is a Emoticons manager, it manage animated gif and presentation in text view. Here there are very interesting pieces of code for image manipulation.
MessengerServer This is the server of chat , with GUI to start it.
MessengerServerNotUI This is the server of chat , without GUI, it start from console,