## 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 plugins
  tigase.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 and Description
    --- | ---
    `static 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` | ClusterElement.`createMethodResponse(JID from, JID to, StanzaType type, Map<String,String> results)`
    `ClusterElement` | ClusterElement.`createMethodResponse(JID from, StanzaType type, Map<String,String> results)`

    Constructors in tigase.cluster.api with parameters of type StanzaType
    Constructor and 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 and 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 and Description
    --- | ---
    `static 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.
    `Packet` | Command.`getPacket(JID from, JID to, StanzaType type, String id)` Method returns instance of a Packet with command element added.
    `Packet` | 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 returns `Packet` instance for this XML stanza.
    `Packet` | Packet.`swapElemFromTo(StanzaType type)` Deprecated. Use `swapStanzaFromTo()` instead.
    `Packet` | Packet.`swapStanzaFromTo(StanzaType type)` The method creates a new `Packet` 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 and Description
    --- | ---
    `static StanzaType` | StanzaType.`valueof(String cmd)`
    `static StanzaType` | StanzaType.`valueOf(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 and Description
    --- | ---
    `static Set<StanzaType>` | StanzaType.`getSubsTypes()`
    `Set<StanzaType>` | XMPPProcessor.`supTypes()`
    `Set<StanzaType>` | XMPPImplIfc.`supTypes()` Method returns an array of all stanza types which the plugin is able to handle.

  - ### Uses of StanzaType in tigase.xmpp.impl

    Methods in tigase.xmpp.impl that return types with arguments of type StanzaType
    Modifier and Type | Method and Description
    --- | ---
    `Set<StanzaType>` | PresenceSubscription.`supTypes()`
    `Set<StanzaType>` | PresenceState.`supTypes()`

    Methods in tigase.xmpp.impl with parameters of type StanzaType
    Modifier and Type | Method and Description
    --- | ---
    `protected static void` | PresenceState.`broadcastDirectPresences(StanzaType t, XMPPResourceConnection session, Queue<Packet> results, Element pres)` `broadcastDirectPresences` broadcast a direct Presence from provided `pres` `Element` object to the collection of JIDs stored in temporary session data under key `DIRECT_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 result `Packet` 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 result `Packet` 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.

  - ### Uses of StanzaType in tigase.xmpp.impl.annotation

    Methods in tigase.xmpp.impl.annotation that return types with arguments of type StanzaType
    Modifier and Type | Method and Description
    --- | ---
    `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 and Description
    --- | ---
    `static EnumSet<StanzaType>` | RosterAbstract.`INITIAL_PRESENCES`

Copyright © 2004–2019 "Tigase, Inc.". All rights reserved.