Class LoadTestCommand

java.lang.Object
tigase.pubsub.modules.commands.LoadTestCommand
All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand

@Bean(name="loadTestCommand", parent=PubSubComponent.class, active=true) public class LoadTestCommand extends Object implements tigase.component.adhoc.AdHocCommand
  • Field Details

    • log

      protected final Logger log
  • Constructor Details

    • LoadTestCommand

      public LoadTestCommand()
  • Method Details

    • execute

      public void execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException
      Specified by:
      execute in interface tigase.component.adhoc.AdHocCommand
      Throws:
      tigase.component.adhoc.AdHocCommandException
    • getName

      public String getName()
      Specified by:
      getName in interface tigase.component.adhoc.AdHocCommand
    • getNode

      public String getNode()
      Specified by:
      getNode in interface tigase.component.adhoc.AdHocCommand
    • isAllowedFor

      public boolean isAllowedFor(tigase.xmpp.jid.JID jid)
      Specified by:
      isAllowedFor in interface tigase.component.adhoc.AdHocCommand