接口 CommandCenter


public interface CommandCenter
作者:
Eric Zhao
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    Prepare and init for the command center (e.g.
    void
    Start the command center in the background.
    void
    Stop the command center and do cleanup.
  • 方法详细资料

    • beforeStart

      void beforeStart() throws Exception
      Prepare and init for the command center (e.g. register commands). This will be executed before starting.
      抛出:
      Exception - if error occurs
    • start

      void start() throws Exception
      Start the command center in the background. This method should NOT block.
      抛出:
      Exception - if error occurs
    • stop

      void stop() throws Exception
      Stop the command center and do cleanup.
      抛出:
      Exception - if error occurs