org.glassfish.cafe.api
Interface UserParticipant

All Superinterfaces:
Participant

public interface UserParticipant
extends Participant

Represents a user participant in the communication.

Author:
binod

Method Summary
 void redirect(String participant)
          Redirect the communication to use a different participant instead of this participant.
 void reject()
          Reject the participant from entering into the conversation.
 void reject(Reason reason)
          Reject the participant from entering into the conversation.
 
Methods inherited from interface org.glassfish.cafe.api.Participant
addAgent, getAgent, getAgents, getJoinable, getName, getNickName, removeAgent, setName, setNickName
 

Method Detail

reject

void reject()
Reject the participant from entering into the conversation. Application usually do this in the JOINING event of the participant or STARTING event of the communication.


reject

void reject(Reason reason)
Reject the participant from entering into the conversation. Application usually do this in the JOINING event of the participant or STARTING event of the communication.

Parameters:
reason - Reason for rejecting the participant.

redirect

void redirect(String participant)
Redirect the communication to use a different participant instead of this participant. Application usually do this in the JOINING event of the participant or STARTING event of the communication.

Parameters:
participant - The participant to whom the redirected request should go to.


Copyright © 2010. All Rights Reserved.