public interface SubscribeListener
processSubscribe(Jid, Presence) method may return a subscribe
answer. If no subscribe answer is returned, the next listener will be
notified and asked. If no listener returns an answer, then nothing happens.| Modifier and Type | Interface and Description |
|---|---|
static class |
SubscribeListener.SubscribeAnswer |
| Modifier and Type | Method and Description |
|---|---|
SubscribeListener.SubscribeAnswer |
processSubscribe(org.jxmpp.jid.Jid from,
org.jivesoftware.smack.packet.Presence subscribeRequest)
Handle incoming presence subscription requests.
|
SubscribeListener.SubscribeAnswer processSubscribe(org.jxmpp.jid.Jid from, org.jivesoftware.smack.packet.Presence subscribeRequest)
from - the JID requesting the subscription.subscribeRequest - the presence stanza used for the request.null