Package org.jivesoftware.smack.roster
Interface SubscribeListener
public interface SubscribeListener
Handle incoming requests to subscribe to our presence. The
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.-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionprocessSubscribe
(Jid from, Presence subscribeRequest) Handle incoming presence subscription requests.
-
Method Details
-
processSubscribe
Handle incoming presence subscription requests.- Parameters:
from
- the JID requesting the subscription.subscribeRequest
- the presence stanza used for the request.- Returns:
- a answer to the request, or
null
-