Class ClientEntityCapabilities2Protocol
- java.lang.Object
-
- rocks.xmpp.extensions.caps.AbstractEntityCapabilitiesProtocol<EntityCapabilities2>
-
- rocks.xmpp.extensions.caps2.AbstractEntityCapabilities2Protocol
-
- rocks.xmpp.extensions.caps2.client.ClientEntityCapabilities2Protocol
-
- All Implemented Interfaces:
ExtensionProtocol
,InboundPresenceHandler
,OutboundPresenceHandler
,DiscoverableInfo
,InfoProvider
public final class ClientEntityCapabilities2Protocol extends AbstractEntityCapabilities2Protocol implements OutboundPresenceHandler
The Entity Caps 2.0 protocol implementation from a client perspective.Clients attach the Entity Caps extension to outbound presence.
-
-
Constructor Summary
Constructors Constructor Description ClientEntityCapabilities2Protocol(XmppSession xmppSession)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleOutboundPresence(PresenceEvent e)
Handles an outbound presence.-
Methods inherited from class rocks.xmpp.extensions.caps2.AbstractEntityCapabilities2Protocol
getFeatures, getNamespace, isEnabled
-
Methods inherited from class rocks.xmpp.extensions.caps.AbstractEntityCapabilitiesProtocol
getEntityCapabilitiesClass, getInfo, getPublishedNodes, handleEntityCapabilities, handleInboundPresence, publishCapsNode
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface rocks.xmpp.extensions.disco.model.info.DiscoverableInfo
getExtensions, getIdentities
-
-
-
-
Constructor Detail
-
ClientEntityCapabilities2Protocol
public ClientEntityCapabilities2Protocol(XmppSession xmppSession)
-
-
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.
-
-