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 Type
    Method
    Description
    void
    Lifecycle method called when the plug-in is started.
    void
    Lifecycle method called when the plug-in is stopped.
    Returns a name / identifier for the plug-in.
    void
    Sets the top-most ApplicationContext within Red5.
    void
    setServer(Server server)
    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

      void setApplicationContext(ApplicationContext context)
      Sets the top-most ApplicationContext within Red5.
      Parameters:
      context - application context
    • setServer

      void setServer(Server server)
      Sets a reference to the server.
      Parameters:
      server - server
    • doStart

      void doStart() throws Exception
      Lifecycle method called when the plug-in is started.
      Throws:
      Exception - on start error
    • doStop

      void doStop() throws Exception
      Lifecycle method called when the plug-in is stopped.
      Throws:
      Exception - on stop error