com.sun.im.service
Interface ConferenceListener

All Superinterfaces:
CollaborationSessionListener
All Known Subinterfaces:
NewsChannelListener

public interface ConferenceListener
extends CollaborationSessionListener


Method Summary
 void onEvent(java.lang.String event)
          invoked when the system is sending information to the user.
 void onMessageAdded(Message message)
          invoked when a message is received from another user participating in this session.
 void onModeratedMessageAdded(Message message)
          invoked when a moderated message is received from another user participating in this session.
 void onModeratedMessageStatus(Message message, int status, java.lang.String reason)
          invoked when there is a change in the status of the moderated message
 
Methods inherited from interface com.sun.im.service.CollaborationSessionListener
onError
 

Method Detail

onMessageAdded

public void onMessageAdded(Message message)
invoked when a message is received from another user participating in this session.

Parameters:
message - the message

onModeratedMessageAdded

public void onModeratedMessageAdded(Message message)
invoked when a moderated message is received from another user participating in this session.

Parameters:
message - the message

onModeratedMessageStatus

public void onModeratedMessageStatus(Message message,
                                     int status,
                                     java.lang.String reason)
invoked when there is a change in the status of the moderated message

Parameters:
message - the message
status - The status of the message as defined in Conference.
reason - The reason submitted by the moderator.

onEvent

public void onEvent(java.lang.String event)
invoked when the system is sending information to the user. This may include object instantiated by the application allowing the provider to return data to the application asynchronously.

The Conference Event format is defined in iCAPI's pseudo-DTD.

Parameters:
event - XML representation of an event