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 ElementClusterElement. clusterElement(JID from, JID to, StanzaType type)static ElementClusterElement. createClusterElement(JID from, JID to, StanzaType type, java.lang.String packet_from)static ClusterElementClusterElement. createClusterMethodCall(JID from, JID to, StanzaType type, java.lang.String method_name, java.util.Map<java.lang.String,java.lang.String> params)ClusterElementClusterElement. createMethodResponse(JID from, JID to, StanzaType type, java.util.Map<java.lang.String,java.lang.String> results)ClusterElementClusterElement. 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 StanzaTypePacket. 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 ElementCommand. createIqCommand(JID from, JID to, StanzaType type, java.lang.String id, java.lang.String node, Command.DataType data_type)static PacketMessage. 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.PacketCommand. getPacket(JID from, JID to, StanzaType type, java.lang.String id)Method returns instance of a Packet with command element added.PacketCommand. 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 PacketPacket. 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 returnsPacketinstance for this XML stanza.PacketPacket. swapStanzaFromTo(StanzaType type)The method creates a newPacketinstance 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 StanzaTypeStanzaType. valueof(java.lang.String cmd)static StanzaTypeStanzaType. 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 voidPresenceState. broadcastDirectPresences(StanzaType t, XMPPResourceConnection session, java.util.Queue<Packet> results, Element pres)broadcastDirectPresencesbroadcast a direct Presence from providedpresElementobject to the collection of JIDs stored in temporary session data under keyDIRECT_PRESENCE.static voidPresenceAbstract. sendPresence(StanzaType t, BareJID from, BareJID to, java.util.Queue<Packet> results, Element pres)Sends Presence stanza from provided parameters without returning created resultPacketobject.static PacketPresenceAbstract. 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 resultPacketobject.static voidPresenceState. 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)sendPresenceBroadcastmethod broadcasts given presence to all buddies from roster and to all users to which direct presence was sent.protected voidMIXProcessor. 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
-