Uses of Enum Class
tigase.xmpp.StanzaType
Package
Description
The main package with top level API for server side components.
Package containing implementation of all Session Manager plugins
-
Uses of StanzaType in tigase.cluster.api
Modifier and TypeMethodDescriptionstatic Element
ClusterElement.clusterElement
(JID from, JID to, StanzaType type) static Element
ClusterElement.createClusterElement
(JID from, JID to, StanzaType type, String packet_from) static ClusterElement
ClusterElement.createClusterMethodCall
(JID from, JID to, StanzaType type, String method_name, Map<String, String> params) ClusterElement.createMethodResponse
(JID from, JID to, StanzaType type, Map<String, String> results) ClusterElement.createMethodResponse
(JID from, StanzaType type, Map<String, String> results) -
Uses of StanzaType in tigase.server
Modifier and TypeMethodDescriptionPacket.getType()
Method returns the stanza type parsed from the top XML element of the enclosed stanza.Modifier and TypeMethodDescriptionstatic Element
Command.createIqCommand
(JID from, JID to, StanzaType type, String id, String node, Command.DataType data_type) static Packet
Message.getMessage
(JID from, JID to, StanzaType type, String body, String subject, String thread, String id) Creates a packet with message stanza.Command.getPacket
(JID from, JID to, StanzaType type, String id) Method returns instance of a Packet with command element added.Command.getPacket
(JID from, JID to, StanzaType type, String id, Command.DataType data_type) Method returns instance of a Packet with command element added.static Packet
Packet.packetInstance
(String el_name, String from, String to, StanzaType type) The method creates XML stanza from given parameters and returnsPacket
instance for this XML stanza.Packet.swapStanzaFromTo
(StanzaType type) The method creates a newPacket
instance with a stanza copy with swapped source and destination addresses and the given type set. -
Uses of StanzaType in tigase.server.rtbl
-
Uses of StanzaType in tigase.xmpp
Modifier and TypeMethodDescriptionstatic StanzaType
static StanzaType
Returns the enum constant of this class with the specified name.static StanzaType[]
StanzaType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic Set<StanzaType>
StanzaType.getSubsTypes()
XMPPImplIfc.supTypes()
Method returns an array of all stanza types which the plugin is able to handle.XMPPProcessor.supTypes()
-
Uses of StanzaType in tigase.xmpp.impl
Modifier and TypeMethodDescriptionprotected static void
PresenceState.broadcastDirectPresences
(StanzaType t, XMPPResourceConnection session, Queue<Packet> results, Element pres) broadcastDirectPresences
broadcast a direct Presence from providedpres
Element
object to the collection of JIDs stored in temporary session data under keyDIRECT_PRESENCE
.static void
PresenceAbstract.sendPresence
(StanzaType t, BareJID from, BareJID to, Queue<Packet> results, Element pres) Sends Presence stanza from provided parameters without returning created resultPacket
object.static Packet
PresenceAbstract.sendPresence
(StanzaType t, JID from, JID to, Queue<Packet> results, Element pres) Sends Presence stanza from provided parameters as well as returns created resultPacket
object.static void
PresenceState.sendPresenceBroadcast
(StanzaType t, XMPPResourceConnection session, EnumSet<RosterAbstract.SubscriptionType> subscrs, Queue<Packet> results, Element pres, Map<String, Object> settings, RosterAbstract roster_util) sendPresenceBroadcast
method broadcasts given presence to all buddies from roster and to all users to which direct presence was sent.protected void
MIXProcessor.sendToUser
(BareJID userJID, String resource, JID connectionJID, StanzaType stanzaType, String id, Element actionEl, Element errorEl, Consumer<Packet> writer) -
Uses of StanzaType in tigase.xmpp.impl.annotation
-
Uses of StanzaType in tigase.xmpp.impl.roster
Modifier and TypeFieldDescriptionstatic final EnumSet<StanzaType>
RosterAbstract.INITIAL_PRESENCES