|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.transport.rtp.SessionTopicManager
public class SessionTopicManager
| Constructor Summary | |
|---|---|
SessionTopicManager(int baseTopicNumber)
If the number of streams is not given, then use 1000 as the default |
|
SessionTopicManager(int baseTopicNumber,
int sessionSize)
construct an object of this class with the given parameters |
|
| Method Summary | |
|---|---|
int |
addTopic()
add a topic number to the session. |
boolean |
equals(Object obj)
if baseTopicNumbers are equal, return true otherwise false |
int |
getMaxTopicNumber()
return maxTopicNumber |
int |
getSessionID()
return the sessionID which is the base topic number |
int |
getSessionSize()
return maxTopicNumber |
static void |
main(String[] args)
|
void |
removeAll()
deletes the given topic number return true if successful, false otherwise |
boolean |
removeTopic(int t)
deletes the given topic number return true if successful, false otherwise |
String |
toString()
toString method implementation |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SessionTopicManager(int baseTopicNumber)
public SessionTopicManager(int baseTopicNumber,
int sessionSize)
| Method Detail |
|---|
public int getSessionID()
public int getSessionSize()
public int getMaxTopicNumber()
public int addTopic()
throws Exception
Exceptionpublic boolean removeTopic(int t)
public void removeAll()
public boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Object
public static void main(String[] args)
throws Exception
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||