|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.samples.components.ClientManager
public class ClientManager
Class that keeps a list of client names in a SharedObject.
| Constructor Summary | |
|---|---|
ClientManager(String name,
boolean persistent)
Create a new instance of the client manager. |
|
| Method Summary | |
|---|---|
void |
addClient(IScope scope,
String username,
String uid)
A new client connected. |
String |
removeClient(IScope scope,
String uid)
A client disconnected. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClientManager(String name,
boolean persistent)
name - name of the shared object to usepersistent - should the shared object be persistent| Method Detail |
|---|
public void addClient(IScope scope,
String username,
String uid)
scope - scope the client connected tousername - name of the user that connecteduid - the unique id of the user that connected
public String removeClient(IScope scope,
String uid)
scope - scope the client disconnected fromuid - unique id of the user that disconnected
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||