public interface AdHocCommand
| Modifier and Type | Method and Description |
|---|---|
String[] |
getFeatures()
Returns features what are implemented by command.
|
String |
getName()
Return human readable name of command.
|
String |
getNode()
Return node name of command.
|
void |
handle(AdHocRequest request,
AdHocResponse response)
Main method to handle ad-hoc requests.
|
boolean |
isAllowed(JID jid)
This method allows to authorization sender.
|
String[] getFeatures()
String getName()
String getNode()
void handle(AdHocRequest request, AdHocResponse response) throws JaxmppException
request - ad-hoc command requestresponse - responseJaxmppExceptionboolean isAllowed(JID jid)
jid - JID of method caller.true if jid is allowed to call command.Copyright © 2006–2016 Tigase. All rights reserved.