public interface AdHocCommand
Modifier and Type | Method and Description |
---|---|
void |
execute(AdhHocRequest request,
AdHocResponse response) |
default void |
execute(AdhHocRequest request,
AdHocResponse response,
Runnable completionHandler,
Consumer<AdHocCommandException> exceptionHandler) |
default Optional<String> |
getGroup() |
String |
getName() |
String |
getNode() |
boolean |
isAllowedFor(JID jid) |
void execute(AdhHocRequest request, AdHocResponse response) throws AdHocCommandException
AdHocCommandException
default void execute(AdhHocRequest request, AdHocResponse response, Runnable completionHandler, Consumer<AdHocCommandException> exceptionHandler) throws AdHocCommandException
AdHocCommandException
String getName()
String getNode()
boolean isAllowedFor(JID jid)
Copyright © 2004–2020 "Tigase, Inc.". All rights reserved.