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 ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionvoiddoStart()Lifecycle method called when the plug-in is started.voiddoStop()Lifecycle method called when the plug-in is stopped.getName()Returns a name / identifier for the plug-in.voidsetApplicationContext(ApplicationContext context) Sets the top-most ApplicationContext within Red5.voidSets 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
-