|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.red5.server.CoreHandler
public class CoreHandler
Base IScopeHandler implementation
| Field Summary | |
|---|---|
protected static Logger |
log
|
| Constructor Summary | |
|---|---|
CoreHandler()
|
|
| Method Summary | |
|---|---|
boolean |
addChildScope(IBasicScope scope)
Called just before a child scope is added. |
boolean |
connect(IConnection conn,
IScope scope)
Connects client to the scope |
boolean |
connect(IConnection conn,
IScope scope,
Object[] params)
Connects client to the scope |
void |
disconnect(IConnection conn,
IScope scope)
Called just after the a connection is disconnected. |
boolean |
handleEvent(IEvent event)
Handle an event |
boolean |
join(IClient client,
IScope scope)
Called just before a client enters the scope. |
void |
leave(IClient client,
IScope scope)
Called just after the client leaves the scope. |
void |
removeChildScope(IBasicScope scope)
Called just after a child scope has been removed. |
boolean |
serviceCall(IConnection conn,
IServiceCall call)
Remote method invocation |
boolean |
start(IScope scope)
Called when a scope is created for the first time. |
void |
stop(IScope scope)
Called just before a scope is disposed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static Logger log
| Constructor Detail |
|---|
public CoreHandler()
| Method Detail |
|---|
public boolean addChildScope(IBasicScope scope)
addChildScope in interface IScopeHandlerscope - Scope that will be added
true to allow, false to deny
public boolean connect(IConnection conn,
IScope scope)
connect in interface CoreHandlerMBeanconn - Client connecitonscope - Scope
public boolean connect(IConnection conn,
IScope scope,
Object[] params)
connect in interface IScopeHandlerconnect in interface CoreHandlerMBeanconn - Client connectionscope - Scopeparams - Params passed from client side with connect call
public void disconnect(IConnection conn,
IScope scope)
disconnect in interface IScopeHandlerdisconnect in interface CoreHandlerMBeanconn - Connection objectscope - Scope object
public boolean join(IClient client,
IScope scope)
join in interface IScopeHandlerjoin in interface CoreHandlerMBeanclient - Client objectscope - Scope that is joined by client
true to allow, false to deny
connection
public void leave(IClient client,
IScope scope)
leave in interface IScopeHandlerleave in interface CoreHandlerMBeanclient - Client objectscope - Scope objectpublic void removeChildScope(IBasicScope scope)
removeChildScope in interface IScopeHandlerremoveChildScope in interface CoreHandlerMBeanscope - Scope that has been removed
public boolean serviceCall(IConnection conn,
IServiceCall call)
serviceCall in interface IScopeHandlerserviceCall in interface CoreHandlerMBeanconn - Connection to invoke method oncall - Service call context
public boolean start(IScope scope)
start in interface IScopeHandlerstart in interface CoreHandlerMBeanscope - the new scope object
true to allow, false to denypublic void stop(IScope scope)
stop in interface IScopeHandlerstop in interface CoreHandlerMBeanscope - Scope that id disposedpublic boolean handleEvent(IEvent event)
handleEvent in interface IEventHandlerhandleEvent in interface CoreHandlerMBeanevent - event to handle
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||