|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AdHocCommand
Base interface for implementing own ad-hoc commands.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
String[] getFeatures()
String getName()
String getNode()
void handle(AdHocRequest request,
AdHocResponse response)
throws JaxmppException
request - ad-hoc command requestresponse - response
JaxmppExceptionboolean isAllowed(JID jid)
jid - JID of method caller.
true if jid is allowed to call command.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||