Package org.red5.server.api.plugin
Interface IRed5Plugin
- All Known Implementing Classes:
Red5Plugin
public interface IRed5Plugin
Base interface for a Red5 server Plug-in.
- Author:
- Paul Gregoire (mondain@gmail.com)
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doStart()
Lifecycle method called when the plug-in is started.void
doStop()
Lifecycle method called when the plug-in is stopped.getName()
Returns a name / identifier for the plug-in.void
setApplicationContext
(ApplicationContext context) Sets the top-most ApplicationContext within Red5.void
Sets a reference to the server.
-
Method Details
-
getName
String getName()Returns a name / identifier for the plug-in.- Returns:
- plug-in's name
-
setApplicationContext
Sets the top-most ApplicationContext within Red5.- Parameters:
context
- application context
-
setServer
Sets a reference to the server.- Parameters:
server
- server
-
doStart
Lifecycle method called when the plug-in is started.- Throws:
Exception
- on start error
-
doStop
Lifecycle method called when the plug-in is stopped.- Throws:
Exception
- on stop error
-