public interface IServiceHandlerProvider
Modifier and Type | Method and Description |
---|---|
Object |
getServiceHandler(String name)
Return a previously registered service handler.
|
Set<String> |
getServiceHandlerNames()
Get list of registered service handler names.
|
void |
registerServiceHandler(String name,
Object handler)
Register an object that provides methods which can be called from a
client.
|
void |
unregisterServiceHandler(String name)
Unregister service handler.
|
void registerServiceHandler(String name, Object handler)
Example:
If you registered a handler with the name "one.two
" that
provides a method "callMe
", you can call a method
"one.two.callMe
" from the client.
name
- the name of the handlerhandler
- the handler objectvoid unregisterServiceHandler(String name)
name
- the name of the handlerObject getServiceHandler(String name)
name
- the name of the handler to returnCopyright © 2006-2012 The Red5 Project