Examples of registerCommand()


Examples of com.orientechnologies.orient.server.network.protocol.ONetworkProtocol.registerCommand()

          protocol.config(server, socket, connection, configuration);

          if (commands != null)
            // REGISTER ADDITIONAL COMMANDS
            for (OServerCommand c : commands) {
              protocol.registerCommand(c);
            }

        } catch (Throwable e) {
          OLogManager.instance().error(this, "Error on client connection", e);
        } finally {
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerCommand()

  }

  @Override
  public TangoKey initKey() {
    TangoKey key = new TangoKey();
    key.registerCommand(m_helper.getDeviceName(), m_helper.getEntityName());
    return key;
  }

  @Override
  public boolean canInitDAO() {
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerCommand()

    }

    @Override
    public TangoKey initKey() {
        TangoKey key = new TangoKey();
        key.registerCommand(m_helper.getDeviceName(), m_helper.getEntityName());
        return key;
    }

    @Override
    public boolean canInitDAO() {
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerCommand()

     * @param commandShortName the command short name (without device name)
     * @return The expected {@link TangoKey}
     */
    public TangoKey generateCommandKey(String commandShortName) {
        TangoKey key = new TangoKey();
        key.registerCommand(getModel(), commandShortName);
        return key;
    }

    /**
     * Generates the {@link TangoKey} that corresponds to a property in the associated device
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerCommand()

     * @param commandShortName the command short name (without device name)
     * @return The expected {@link TangoKey}
     */
    public TangoKey generateCommandKey(String commandShortName) {
        TangoKey key = new TangoKey();
        key.registerCommand(getModel(), commandShortName);
        return key;
    }

    /**
     * Generates the {@link TangoKey} that corresponds to a property in the associated device
View Full Code Here

Examples of fr.soleil.comete.dao.tangodao.TangoKey.registerCommand()

     * @param commandShortName the command short name (without device name)
     * @return The expected {@link TangoKey}
     */
    public TangoKey generateCommandKey(String commandShortName) {
        TangoKey key = new TangoKey();
        key.registerCommand(getModel(), commandShortName);
        return key;
    }

    /**
     * Generates the {@link TangoKey} that corresponds to a property in the associated device
View Full Code Here

Examples of frontend.alphaspawn.tools.command.CommandManager.registerCommand()

    // Get the command manager
    CommandManager cmdMgr = CommandManager.getInstance();

    // Register the !help command
    this.objHelpCmd = new Help( this.objConnection );
    cmdMgr.registerCommand( "!help", this.objHelpCmd );
  }
 
  /**
   * Returns the {@link wzhybridbots.tools.actions.ServerCommands ServerCommands} of
   * the class.
View Full Code Here

Examples of frontend.alphaspawn.tools.command.CommandManager.registerCommand()

    if ( this.objLagCmd == null &&
       this.objConnection != null &&
       this.objServerCommands != null ) {   
      // Register the "lag" command
      this.objLagCmd = new Lag( this.objConnection, this.objServerCommands );
      cmdMgr.registerCommand( "!lag", this.objLagCmd );
    }
  }
 
  /**
   * Removes the command used by this plugin.
View Full Code Here

Examples of frontend.alphaspawn.tools.command.CommandManager.registerCommand()

    if ( this.objPluginCmd == null &&
       this.objConnection != null &&
       this.objBotOperators != null ) {   
      // Register the "plugin" command
      this.objPluginCmd = new Plugin( this.objConnection, this.objPluginManager, this.objBotOperators );
      cmdMgr.registerCommand( "!plugin", this.objPluginCmd );
    }
  }
 
  /**
   * Removes the command used by this plugin.
View Full Code Here

Examples of me.taylorkelly.help.Help.registerCommand()

    public static void initialize(Plugin plugin) {
        Plugin test = plugin.getServer().getPluginManager().getPlugin("Help");
        if (test != null) {
            Help helpPlugin = ((Help) test);
            String[] permissions = new String[]{"bb.admin.watch", "bb.admin.info", "bb.admin.rollback", "bb.admin.cleanse"};
            helpPlugin.registerCommand("bb help", "Help for all BigBrother commands", plugin, permissions);
            helpPlugin.registerCommand("bb watch [player]", "Toggle the watch on [player]", plugin, permissions[0]);
            helpPlugin.registerCommand("bb watched", "Displays the list of watched players", plugin, permissions[1]);
            helpPlugin.registerCommand("bb unwatched", "Displays the list of unwatched players", plugin, permissions[1]);
            helpPlugin.registerCommand("bb stick (#)", "Tools to examine block history", plugin, true, permissions[1]);
            helpPlugin.registerCommand("bb here", "An overview of the block history around you", plugin, true, permissions[1]);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.