Class LoadTestCommand

  • All Implemented Interfaces:
    tigase.component.adhoc.AdHocCommand

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

      Fields 
      Modifier and Type Field Description
      protected java.util.logging.Logger log  
    • Constructor Summary

      Constructors 
      Constructor Description
      LoadTestCommand()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute​(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)  
      java.lang.String getName()  
      java.lang.String getNode()  
      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, getGroup
    • Field Detail

      • log

        protected final java.util.logging.Logger log
    • Constructor Detail

      • LoadTestCommand

        public LoadTestCommand()
    • Method Detail

      • 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 java.lang.String getName()
        Specified by:
        getName in interface tigase.component.adhoc.AdHocCommand
      • getNode

        public java.lang.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