Package tigase.push.adhoc
Class AbstractAdHocCommand
- java.lang.Object
-
- tigase.push.adhoc.AbstractAdHocCommand
-
- All Implemented Interfaces:
tigase.component.adhoc.AdHocCommand
- Direct Known Subclasses:
RegisterDevice,SetAPNSCertificate,SetAPNSEncryptionKey,UnregisterDevice
public abstract class AbstractAdHocCommand extends java.lang.Object implements tigase.component.adhoc.AdHocCommandCreated by andrzej on 02.01.2017.
-
-
Constructor Summary
Constructors Constructor Description AbstractAdHocCommand()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidexecute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)protected abstract tigase.form.FormprepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response)protected abstract tigase.form.FormsubmitForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response, tigase.form.Form form)
-
-
-
Method Detail
-
execute
public void execute(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException- Specified by:
executein interfacetigase.component.adhoc.AdHocCommand- Throws:
tigase.component.adhoc.AdHocCommandException
-
prepareForm
protected abstract tigase.form.Form prepareForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response) throws tigase.component.adhoc.AdHocCommandException- Throws:
tigase.component.adhoc.AdHocCommandException
-
submitForm
protected abstract tigase.form.Form submitForm(tigase.component.adhoc.AdhHocRequest request, tigase.component.adhoc.AdHocResponse response, tigase.form.Form form) throws tigase.component.adhoc.AdHocCommandException- Throws:
tigase.component.adhoc.AdHocCommandException
-
-