Class CommandRPCMediator


  • public class CommandRPCMediator
    extends java.lang.Object
    • Field Detail

      • customCommands

        protected java.util.Map<java.lang.String,​IRPCCommand> customCommands
    • Constructor Detail

    • Method Detail

      • initializeMediator

        protected void initializeMediator()
      • runCommand

        @Deprecated
        public java.lang.Object runCommand​(Command command,
                                           java.lang.String payload)
        Deprecated.
      • runCommand

        public java.lang.Object runCommand​(Command command,
                                           java.util.Map<java.lang.String,​java.lang.Object> payload)
      • runRegisterCommand

        public <T> T runRegisterCommand​(ICommandKey key,
                                        java.util.HashMap<java.lang.String,​java.lang.Object> payload)
      • runRegisterCommand

        public <T> T runRegisterCommand​(java.lang.String key,
                                        java.util.HashMap<java.lang.String,​java.lang.Object> payload)
      • valueToHasMap

        @Deprecated
        protected java.util.HashMap<java.lang.String,​java.lang.String> valueToHasMap​(java.lang.String value)
        Deprecated.
      • valueToList

        @Deprecated
        protected java.util.List<java.lang.String> valueToList​(java.lang.String value)
        Deprecated.
      • containsCommand

        public boolean containsCommand​(ICommandKey key,
                                       boolean custom)
      • unregisterCommand

        public void unregisterCommand​(ICommandKey key)