public interface IApplication
| Modifier and Type | Method and Description |
|---|---|
boolean |
appConnect(IConnection conn,
Object[] params)
Called per each client connect
|
void |
appDisconnect(IConnection conn)
Called every time client disconnects from the application
|
boolean |
appJoin(IClient client,
IScope app)
Called every time client joins app level scope
|
void |
appLeave(IClient client,
IScope app)
Called every time client leaves the application scope
|
boolean |
appStart(IScope app)
Called once when application or room starts
|
void |
appStop(IScope app)
Called on application stop
|
boolean |
roomConnect(IConnection conn,
Object[] params)
Called every time client connects to the room
|
void |
roomDisconnect(IConnection conn)
Called when client disconnects from room scope
|
boolean |
roomJoin(IClient client,
IScope room)
Called when user joins room scope
|
void |
roomLeave(IClient client,
IScope room)
Called when user leaves room scope
|
boolean |
roomStart(IScope room)
Called on application room start
|
void |
roomStop(IScope room)
Called on room scope stop
|
boolean appStart(IScope app)
app - Application or room level scope. See IScope for detailstruecontinues application run,
falseterminates
boolean appConnect(IConnection conn, Object[] params)
conn - Connection object used to provide basic connection methods. See IConnectionparams - List of params sent from client with NetConnection.connect calltrueaccepts the connection,
falserejects it
boolean appJoin(IClient client, IScope app)
client - Client objectapp - Scope objecttrueaccepts the client,
falserejects it
void appDisconnect(IConnection conn)
conn - Connection object See IConnectionvoid appLeave(IClient client, IScope app)
client - Client objectapp - Scope objectvoid appStop(IScope app)
app - Scope objectboolean roomStart(IScope room)
room - Scope objecttrueif scope can be started,
falseotherwise
boolean roomConnect(IConnection conn, Object[] params)
conn - Connection objectparams - List of params sent from client with NetConnection.connect calltrueaccepts the connection,
falserejects it
boolean roomJoin(IClient client, IScope room)
client - Client objectroom - Scope objecttrueaccepts the client,
falserejects it
void roomDisconnect(IConnection conn)
conn - Connection object used to provide basic connection methods. See IConnectionvoid roomLeave(IClient client, IScope room)
client - Client objectroom - Scope objectvoid roomStop(IScope room)
room - Scope objectCopyright © 2005–2017 Red5. All rights reserved.