Class LeaveChannelCommand

java.lang.Object
tigase.mix.adhoc.AbstractAdhocCommand
tigase.mix.adhoc.LeaveChannelCommand
All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand

@Bean(name="channel-leave-command", parent=tigase.server.xmppsession.SessionManager.class, active=true) public class LeaveChannelCommand extends AbstractAdhocCommand
  • Constructor Details

    • LeaveChannelCommand

      public LeaveChannelCommand()
  • Method Details

    • isAllowedFor

      public boolean isAllowedFor(tigase.xmpp.jid.JID jid)
    • prepareForm

      protected tigase.xml.Element prepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException
      Specified by:
      prepareForm in class AbstractAdhocCommand
      Throws:
      tigase.component.adhoc.AdHocCommandException
    • submitForm

      protected tigase.xml.Element submitForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response, tigase.xml.Element data) throws tigase.component.adhoc.AdHocCommandException
      Specified by:
      submitForm in class AbstractAdhocCommand
      Throws:
      tigase.component.adhoc.AdHocCommandException