Package org.jivesoftware.smackx.pubsub
Smack's API for XEP-0060: Publish-Subscribe.
-
Interface Summary Interface Description EmbeddedPacketExtension This interface definesExtensionElement
implementations that contain other extensions. -
Class Summary Class Description Affiliation Represents a affiliation between a user and a node, where theAffiliation.Type
defines the type of affiliation.AffiliationsExtension Represents the affiliations element of the reply to a request for affiliations.CollectionNode ConfigurationEvent Represents the configuration element of a PubSub message event which associates a configuration form to the node which was configured.EventElement Represents the top level element of a PubSub event extension.FormNode Generic stanza extension which represents any PubSub form that is parsed from the incoming stream or being sent out to the server.GetItemsRequest Represents a request to subscribe to a node.Item This class represents an item that has been, or will be published to a PubSub node.ItemDeleteEvent Represents an event in which items have been deleted from the node.ItemPublishEvent<T extends Item> Represents an event generated by an item(s) being published to a node.ItemsExtension This class is used for multiple purposes.LeafNode The main class for the majority of PubSub functionality.Node Node.ItemDeleteTranslator This class translates low level item deletion events into api level objects for user consumption.Node.ItemEventTranslator This class translates low level item publication events into api level objects for user consumption.Node.NodeConfigTranslator This class translates low level node configuration events into api level objects for user consumption.NodeEvent NodeExtension A class which represents a common element within the pubsub defined schemas.OptionsExtension A stanza extension representing the options element.PayloadItem<E extends ExtensionElement> This class represents an item that has been, or will be published to a pubsub node.PublishItem<T extends Item> Represents a request to publish an item(s) to a specific node.PubSubManager This is the starting point for access to the pubsub service.RetractItem Represents and item that has been deleted from a node.SimplePayload The default payload representation forPayloadItem.getPayload()
.SubscribeExtension Represents a request to subscribe to a node.Subscription Represents a subscription to node for both requests and replies.SubscriptionEvent Base class to represents events that are associated to subscriptions.SubscriptionsExtension Represents the element holding the list of subscription elements.UnsubscribeExtension Represents an unsubscribe element. -
Enum Summary Enum Description AccessModel This enumeration represents the access models for the PubSub node as defined in the PubSub specification section 16.4.3.Affiliation.AffiliationNamespace Affiliation.Type ChildrenAssociationPolicy This enumeration represents the children association policy for associating leaf nodes with collection nodes as defined in the PubSub specification section 16.4.3.ConfigureNodeFields This enumeration represents all the fields of a node configuration form.EventElementType This enumeration defines the possible event types that are supported within PubSub event messages.FormNodeType The types of forms supported by the PubSub specification.Item.ItemNamespace ItemReply These are the options for the node configuration settingFillableConfigureForm.setItemReply(ItemReply)
, which defines who should receive replies to items.ItemsExtension.ItemsElementType NodeType Defines the available types of nodes.NotificationType Specify the delivery style for event notifications.PresenceState Defines the possible valid presence states for node subscription viaSubscribeFormReader.getShowValues()
.PublishModel Determines who may publish to a node.PubSubElementType Defines all the possible element types as defined for all the pubsub schemas in all 3 namespaces.PubSubFeature The features a PubSub service may provides.SubscribeOptionFields Defines the possible field options for a subscribe options form as defined by Section 16.4.2.Subscription.State SubscriptionsExtension.SubscriptionsNamespace -
Exception Summary Exception Description PubSubException PubSubException.NotALeafNodeException PubSubException.NotAPubSubNodeException