Package | Description |
---|---|
rocks.xmpp.core.session |
Provides classes related to an XMPP session.
|
Modifier and Type | Method and Description |
---|---|
void |
XmppSession.addInboundPresenceListener(java.util.function.Consumer<PresenceEvent> presenceListener)
Adds an inbound presence listener to the session, which will get notified, whenever a presence is received.
|
void |
XmppSession.addOutboundPresenceListener(java.util.function.Consumer<PresenceEvent> presenceListener)
Adds an outbound presence listener to the session, which will get notified, whenever a presence is sent.
|
void |
XmppSession.removeInboundPresenceListener(java.util.function.Consumer<PresenceEvent> presenceListener)
Removes a previously added inbound presence listener from the session.
|
void |
XmppSession.removeOutboundPresenceListener(java.util.function.Consumer<PresenceEvent> presenceListener)
Removes a previously added outbound presence listener from the session.
|
Copyright © 2014–2019 XMPP.rocks. All rights reserved.