Uses of Class
tigase.xmpp.StanzaType
-
Packages that use StanzaType Package Description tigase.cluster.api tigase.server The main package with top level API for server side components.tigase.xmpp tigase.xmpp.impl Package containing implementation of all Session Manager pluginstigase.xmpp.impl.annotation tigase.xmpp.impl.roster -
-
Uses of StanzaType in tigase.cluster.api
Methods in tigase.cluster.api with parameters of type StanzaType Modifier and Type Method Description static Element
ClusterElement. clusterElement(JID from, JID to, StanzaType type)
static Element
ClusterElement. createClusterElement(JID from, JID to, StanzaType type, java.lang.String packet_from)
static ClusterElement
ClusterElement. createClusterMethodCall(JID from, JID to, StanzaType type, java.lang.String method_name, java.util.Map<java.lang.String,java.lang.String> params)
ClusterElement
ClusterElement. createMethodResponse(JID from, JID to, StanzaType type, java.util.Map<java.lang.String,java.lang.String> results)
ClusterElement
ClusterElement. createMethodResponse(JID from, StanzaType type, java.util.Map<java.lang.String,java.lang.String> results)
Constructors in tigase.cluster.api with parameters of type StanzaType Constructor Description ClusterElement(JID from, JID to, StanzaType type, Packet packet)
-
Uses of StanzaType in tigase.server
Methods in tigase.server that return StanzaType Modifier and Type Method Description StanzaType
Packet. getType()
Method returns the stanza type parsed from the top XML element of the enclosed stanza.Methods in tigase.server with parameters of type StanzaType Modifier and Type Method Description static Element
Command. createIqCommand(JID from, JID to, StanzaType type, java.lang.String id, java.lang.String node, Command.DataType data_type)
static Packet
Message. getMessage(JID from, JID to, StanzaType type, java.lang.String body, java.lang.String subject, java.lang.String thread, java.lang.String id)
Creates a packet with message stanza.Packet
Command. getPacket(JID from, JID to, StanzaType type, java.lang.String id)
Method returns instance of a Packet with command element added.Packet
Command. getPacket(JID from, JID to, StanzaType type, java.lang.String id, Command.DataType data_type)
Method returns instance of a Packet with command element added.static Packet
Packet. packetInstance(java.lang.String el_name, java.lang.String from, java.lang.String to, StanzaType type)
The method creates XML stanza from given parameters and returnsPacket
instance for this XML stanza.Packet
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.xmpp
Methods in tigase.xmpp that return StanzaType Modifier and Type Method Description static StanzaType
StanzaType. valueof(java.lang.String cmd)
static StanzaType
StanzaType. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static StanzaType[]
StanzaType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in tigase.xmpp that return types with arguments of type StanzaType Modifier and Type Method Description static java.util.Set<StanzaType>
StanzaType. getSubsTypes()
java.util.Set<StanzaType>
XMPPImplIfc. supTypes()
Method returns an array of all stanza types which the plugin is able to handle.java.util.Set<StanzaType>
XMPPProcessor. supTypes()
-
Uses of StanzaType in tigase.xmpp.impl
Methods in tigase.xmpp.impl that return types with arguments of type StanzaType Modifier and Type Method Description java.util.Set<StanzaType>
PresenceState. supTypes()
java.util.Set<StanzaType>
PresenceSubscription. supTypes()
Methods in tigase.xmpp.impl with parameters of type StanzaType Modifier and Type Method Description protected static void
PresenceState. broadcastDirectPresences(StanzaType t, XMPPResourceConnection session, java.util.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, java.util.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, java.util.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, java.util.EnumSet<RosterAbstract.SubscriptionType> subscrs, java.util.Queue<Packet> results, Element pres, java.util.Map<java.lang.String,java.lang.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, java.lang.String resource, JID connectionJID, StanzaType stanzaType, java.lang.String id, Element actionEl, Element errorEl, java.util.function.Consumer<Packet> writer)
-
Uses of StanzaType in tigase.xmpp.impl.annotation
Methods in tigase.xmpp.impl.annotation that return StanzaType Modifier and Type Method Description StanzaType[]
value()
Methods in tigase.xmpp.impl.annotation that return types with arguments of type StanzaType Modifier and Type Method Description java.util.Set<StanzaType>
AnnotatedXMPPProcessor. supTypes()
-
Uses of StanzaType in tigase.xmpp.impl.roster
Fields in tigase.xmpp.impl.roster with type parameters of type StanzaType Modifier and Type Field Description static java.util.EnumSet<StanzaType>
RosterAbstract. INITIAL_PRESENCES
-