Smack's API for XEP-0060: Publish-Subscribe.
Interface Summary Interface Description EmbeddedPacketExtensionThis interface defines
ExtensionElementimplementations that contain other extensions.
Class Summary Class Description AffiliationRepresents a affiliation between a user and a node, where the
Affiliation.Typedefines the type of affiliation.
AffiliationsExtensionRepresents the affiliations element of the reply to a request for affiliations. CollectionNode ConfigurationEventRepresents the configuration element of a PubSub message event which associates a configuration form to the node which was configured. EventElementRepresents the top level element of a PubSub event extension. FormNodeGeneric stanza extension which represents any PubSub form that is parsed from the incoming stream or being sent out to the server. GetItemsRequestRepresents a request to subscribe to a node. ItemThis class represents an item that has been, or will be published to a PubSub node. ItemDeleteEventRepresents 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. ItemsExtensionThis class is used for multiple purposes. LeafNodeThe main class for the majority of PubSub functionality. Node Node.ItemDeleteTranslatorThis class translates low level item deletion events into api level objects for user consumption. Node.ItemEventTranslatorThis class translates low level item publication events into api level objects for user consumption. Node.NodeConfigTranslatorThis class translates low level node configuration events into api level objects for user consumption. NodeEvent NodeExtensionA class which represents a common element within the pubsub defined schemas. OptionsExtensionA 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. PubSubManagerThis is the starting point for access to the pubsub service. RetractItemRepresents and item that has been deleted from a node. SimplePayloadThe default payload representation for
SubscribeExtensionRepresents a request to subscribe to a node. SubscriptionRepresents a subscription to node for both requests and replies. SubscriptionEventBase class to represents events that are associated to subscriptions. SubscriptionsExtensionRepresents the element holding the list of subscription elements. UnsubscribeExtensionRepresents an unsubscribe element.
Enum Summary Enum Description AccessModelThis enumeration represents the access models for the PubSub node as defined in the PubSub specification section 16.4.3. Affiliation.AffiliationNamespace Affiliation.Type ChildrenAssociationPolicyThis enumeration represents the children association policy for associating leaf nodes with collection nodes as defined in the PubSub specification section 16.4.3. ConfigureNodeFieldsThis enumeration represents all the fields of a node configuration form. EventElementTypeThis enumeration defines the possible event types that are supported within PubSub event messages. FormNodeTypeThe types of forms supported by the PubSub specification. Item.ItemNamespace ItemReplyThese are the options for the node configuration setting
FillableConfigureForm.setItemReply(ItemReply), which defines who should receive replies to items.
ItemsExtension.ItemsElementType NodeTypeDefines the available types of nodes. NotificationTypeSpecify the delivery style for event notifications. PresenceStateDefines the possible valid presence states for node subscription via
PublishModelDetermines who may publish to a node. PubSubElementTypeDefines all the possible element types as defined for all the pubsub schemas in all 3 namespaces. PubSubFeatureThe features a PubSub service may provides. SubscribeOptionFieldsDefines 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