COMP 310
Spring 2010
|
HW07: RMI Chat
Program
|
 |
Under Construction!
The goal of this assignment is to design and implement a flexible, extensible
chat program using RMI.
Chat Program Requirements:
The chat program must be able to:
- Connect and communicate with any other student's implementation
(including the staff's).
- Support two-way text chatting with
- Multiple, simultaneous single individuals
- Multiple, simultaneous groups of individuals.
- Support an "auto-connect-back" feature wherein an accepted request to
chat is automatically connected without the user having to know the
requestor's address.
- Support the transmission and display of images.
- Be easily extensible to handle the transimission and reception of any
arbitrary data type.
- Gracefully handle (i.e. not crash) the reception of an unknown data
type.
Download the code distribution for the Chat App:
chat_app.zip (on-line
documentation)
This includes:
- The datapacket package
(uml diagram)
- The status package (uml
diagram)
- The Serializable extvisitor package
- RMI utilites (rmiUtils) package and a
relocated class file server package (rmiUtils.classServer)
Other Resources
- The common code developed in class can be found in the
Owlspace Repository.
- The evolving documentation of for the various interacton protocols can
be found in the
Owlspace wiki.
© 2010 by Stephen Wong