|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cisco.ipphone.sdk.mconference.ConferenceManager
public class ConferenceManager
The ConferenceManager class controls all of state of the Conferences for the MConference application. ConferenceManager has static attributes which maintain a list of current Conferences and track the allocation of IP multicast addresses for those Conferences. ConferenceManager is a singleton class - which means there is only one instance of a ConferenceManager object in the entire JVM. This ensures a single point of management for all Conferences which is used by all threads (i.e., all web requests).
| Nested Class Summary | |
|---|---|
class |
ConferenceManager.Conference
Conference is a simple inner class which holds all of the state information for a conference |
| Method Summary | |
|---|---|
boolean |
addTalker(int conferenceId,
Participant p)
Adds the specified Particpant as a Talker in this Conference |
boolean |
addTalkRequest(int conferenceId,
Participant p)
Adds a Request to Talk to the specified Conference |
ConferenceManager.Conference |
createConference(java.lang.String name,
java.lang.String owner,
java.lang.String ownerIP)
Creates a new Conference with specified attributes |
ConferenceManager.Conference |
deleteConference(int id)
Deletes the Conference with the specified Conference ID |
ConferenceManager.Conference |
getConference(int id)
Returns a reference to the Conference identified by the specified Id |
static ConferenceManager |
getConferenceManager()
This method returns a reference to the one and only ConferenceManager. |
ConferenceManager.Conference[] |
getConferences()
Returns an Array of all currently defined Conferences |
Participant[] |
getTalkers(int conferenceId)
|
Participant[] |
getTalkRequests(int conferenceId)
Returns an Array of all Particpants currently Requesting to Talk |
void |
removeTalker(int conferenceId,
java.lang.String ipAddress)
Removes the specified Participant from the list of Talkers for this Conference |
void |
removeTalkRequest(int conferenceId,
java.lang.String ipAddress)
Removes all Requests to Talk for the specified Participant's IP address |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ConferenceManager getConferenceManager()
public ConferenceManager.Conference createConference(java.lang.String name,
java.lang.String owner,
java.lang.String ownerIP)
name - the name of the Conferenceowner - the name of the owner of the ConferenceownerIP - the IP address of the Conference Owner's phone
public ConferenceManager.Conference deleteConference(int id)
id - the Conference ID
null if the specified Id is invalidpublic ConferenceManager.Conference getConference(int id)
id -
null if the Id is invalidpublic ConferenceManager.Conference[] getConferences()
public boolean addTalkRequest(int conferenceId,
Participant p)
conferenceId - p -
public void removeTalkRequest(int conferenceId,
java.lang.String ipAddress)
conferenceId - the Conference IdipAddress - the IP address of the Participant's Phonepublic Participant[] getTalkRequests(int conferenceId)
conferenceId -
public boolean addTalker(int conferenceId,
Participant p)
conferenceId - the Conference Idp - the Particpant
public void removeTalker(int conferenceId,
java.lang.String ipAddress)
conferenceId - the Conference IdipAddress - the IPpublic Participant[] getTalkers(int conferenceId)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||