org.olat.instantMessaging.rosterandchat
Class InstantMessagingMainController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.instantMessaging.rosterandchat.InstantMessagingMainController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable, GenericEventListener

public class InstantMessagingMainController
extends BasicController
implements GenericEventListener

Description:
Main controller which initates the connection and provides status change/roster and chat possibilities

Initial Date: 26.04.2007

Author:
guido

Field Summary
static java.lang.String ACTION_CHAT
           
static java.lang.String ACTION_MSG
           
 
Constructor Summary
InstantMessagingMainController(UserRequest ureq, WindowControl wControl)
           
 
Method Summary
 void event(Event event)
          gets called if either a new message or a presence change from one of the buddies happens
 void event(UserRequest ureq, Component source, Event event)
          abstract event method for subclasses.
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ACTION_CHAT

public static final java.lang.String ACTION_CHAT
See Also:
Constant Field Values

ACTION_MSG

public static final java.lang.String ACTION_MSG
See Also:
Constant Field Values
Constructor Detail

InstantMessagingMainController

public InstantMessagingMainController(UserRequest ureq,
                                      WindowControl wControl)
Method Detail

event

public void event(UserRequest ureq,
                  Component source,
                  Event event)
Description copied from class: DefaultController
abstract event method for subclasses. the event received from the component we are listening to are always rerouted to this method here, except when the component has been disposed, in which case the events are simply ignored.

See Also:
DefaultController.event(org.olat.core.gui.UserRequest, org.olat.core.gui.components.Component, org.olat.core.gui.control.Event)

event

public void event(Event event)
gets called if either a new message or a presence change from one of the buddies happens

Specified by:
event in interface GenericEventListener
See Also:
GenericEventListener.event(org.olat.core.gui.control.Event)