Class COM.roguewave.jchat.ForumViewDispatcher
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class COM.roguewave.jchat.ForumViewDispatcher

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----COM.roguewave.jchat.Dispatcher
                   |
                   +----COM.roguewave.jchat.ForumViewDispatcher

public class ForumViewDispatcher
extends Dispatcher
The ForumViewDispatcher class.

The ForumViewDispatcher class implements a specialized Dispatcher for the JChat client. The ForumDispatcher maintains a list of ForumViewWindows that are updated when an update command is received.

See Also:
Dispatcher

Constructor Index

 o ForumViewDispatcher()
Creates a ForumViewDispatcher.

Method Index

 o addObjectToNotify(String, Object)
Adds an object that should be notified when the "update" or "add" command is processed.
 o processCommand(String[])
Process a command request.

Constructors

 o ForumViewDispatcher
  public ForumViewDispatcher()
Creates a ForumViewDispatcher.

Methods

 o addObjectToNotify
  public synchronized void addObjectToNotify(String forumName,
                                             Object aObject)
Adds an object that should be notified when the "update" or "add" command is processed.
Overrides:
addObjectToNotify in class Dispatcher
 o processCommand
  public synchronized void processCommand(String command[])
Process a command request. For the ForumViewDispatcher, the following commands are understood:
  post "forumname" "username" "message"
  add  "forumname" ""         ""
Overrides:
processCommand in class Dispatcher

All Packages  Class Hierarchy  This Package  Previous  Next  Index