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 Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final Logger
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)
     
     
     
    boolean
    isAllowedFor(tigase.xmpp.jid.JID jid)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface tigase.component.adhoc.AdHocCommand

    execute, getDefaultACL, getGroup, isAllowedFor, isForSelf
  • 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