Class ClientEntityCapabilitiesSupport
- java.lang.Object
-
- rocks.xmpp.extensions.caps.client.ClientEntityCapabilitiesSupport
-
- All Implemented Interfaces:
OutboundPresenceHandler
public final class ClientEntityCapabilitiesSupport extends Object implements OutboundPresenceHandler
Helper class to add entity capabilities to outbound presence.This class is used by both entity capabilities protocols
.
-
-
Constructor Summary
Constructors Constructor Description ClientEntityCapabilitiesSupport(XmppSession xmppSession, AbstractEntityCapabilitiesProtocol<? extends EntityCapabilities> entityCapabilitiesProtocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleOutboundPresence(PresenceEvent e)
Handles an outbound presence.
-
-
-
Constructor Detail
-
ClientEntityCapabilitiesSupport
public ClientEntityCapabilitiesSupport(XmppSession xmppSession, AbstractEntityCapabilitiesProtocol<? extends EntityCapabilities> entityCapabilitiesProtocol)
-
-
Method Detail
-
handleOutboundPresence
public final void handleOutboundPresence(PresenceEvent e)
Description copied from interface:OutboundPresenceHandler
Handles an outbound presence.- Specified by:
handleOutboundPresence
in interfaceOutboundPresenceHandler
- Parameters:
e
- The presence event.
-
-