|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Participant
Represents a participant in the conversation.
Method Summary | ||
---|---|---|
|
addAgent(String name, Agent<T> agent) Set an agent instance in the communication. |
|
|
getAgent(String name) Gets the agent from its name. |
|
Collection<Agent> |
getAgents() Retrieve the agent instance pertaining to the communication. |
|
|
getExtension(Class<E> extensionType) Method to retrieve instance of this Participant's extension |
|
|
getJoinable() Return the Joinable object represents this Participant. |
|
String |
getName() Return the user name of the participant. |
|
String |
getNickName() Return the nick name of the participant. |
|
|
removeAgent(String name) Method to remove an agent from the participant.. |
|
void |
setName(String name) Set the user name of the participant. |
|
void |
setNickName(String name) Set the nick name of the participant. |
Method Detail |
---|
void setName(String name)
name
- Name of the participant.String getName()
void setNickName(String name)
name
- Nick name of the participant.String getNickName()
<J extends javax.media.mscontrol.join.Joinable> J getJoinable()
Joinable
object represents this Participant. Depending on the type of the Participant, the type of the Joinable
would also change. For example, A UserParticipant
will return an instance of NetworkConnection
, where as a MediaParticipant
will return an instance of MediaGroup
Joinable
.<T> void addAgent(String name, Agent<T> agent)
T
- Type of Agent.agent
- An instance of Agent.Agent
Collection<Agent> getAgents()
<T> Agent<T> getAgent(String name)
name
- Name of the Agent<T> Agent<T> removeAgent(String name)
T
- typename
- name of the agent.<E extends ParticipantExtension> E getExtension(Class<E> extensionType)
E
- required extension typeextensionType
- Class object of the required extension type
|
Oracle Communications Converged Application Server Java API Reference 5.1 E36938-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Oracle Corporation. All Rights Reserved.