com.sun.im.desktop
Interface MessengerConferenceListener


public interface MessengerConferenceListener

Listener provided by the extension module in order to receive events pertaining to the conference.


Method Summary
 void onEvent(java.lang.String uid, boolean join)
          invoked when a new participant joins the conference or an existing participant leaves the conference
 void onTextMessageAdded(java.lang.String uid, java.lang.String text)
          invoked when a text message is received by the container
 

Method Detail

onTextMessageAdded

public void onTextMessageAdded(java.lang.String uid,
                               java.lang.String text)
invoked when a text message is received by the container

Parameters:
uid - user ID (aka IM address) of the originator of the message
text - text of the message, plain or HTML

onEvent

public void onEvent(java.lang.String uid,
                    boolean join)
invoked when a new participant joins the conference or an existing participant leaves the conference

Parameters:
uid - participant user id (aka IM address)
join - true if this is a new participant, false if this is a participant leaving.