Package | Description |
---|---|
tigase.cluster.api | |
tigase.server |
The main package with top level API for server side components.
|
tigase.server.sreceiver | |
tigase.util | |
tigase.xmpp | |
tigase.xmpp.impl |
Package containing implementation of all Session Manager plugins
|
tigase.xmpp.impl.annotation | |
tigase.xmpp.impl.roster |
Modifier and Type | Method and Description |
---|---|
static Element |
ClusterElement.clusterElement(JID from,
JID to,
StanzaType type)
Method description
|
static Element |
ClusterElement.createClusterElement(JID from,
JID to,
StanzaType type,
String packet_from)
Method description
|
static ClusterElement |
ClusterElement.createClusterMethodCall(JID from,
JID to,
StanzaType type,
String method_name,
Map<String,String> params)
Method description
|
ClusterElement |
ClusterElement.createMethodResponse(JID from,
JID to,
StanzaType type,
Map<String,String> results)
Method description
|
ClusterElement |
ClusterElement.createMethodResponse(JID from,
StanzaType type,
Map<String,String> results)
Method description
|
Constructor and Description |
---|
ClusterElement(JID from,
JID to,
StanzaType type,
Packet packet)
Constructs ...
|
Modifier and Type | Method and Description |
---|---|
StanzaType |
Packet.getType()
Method returns the stanza type parsed from the top XML element of the enclosed
stanza.
|
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. |
Modifier and Type | Method and Description |
---|---|
static Packet |
TaskCommons.getMessage(JID from,
JID to,
StanzaType type,
String body) |
static Packet |
TaskCommons.getPresence(JID from,
JID to,
StanzaType type) |
static Packet |
TaskCommons.getPresence(JID from,
JID to,
StanzaType type,
String nick,
String status) |
Modifier and Type | Method and Description |
---|---|
static Element |
ElementUtils.createIqQuery(JID from,
JID to,
StanzaType type,
String id,
Element query) |
static Element |
ElementUtils.createIqQuery(JID from,
JID to,
StanzaType type,
String id,
String xmlns) |
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
Set<StanzaType> |
PresenceSubscription.supTypes() |
Set<StanzaType> |
PresenceState.supTypes() |
Modifier and Type | Method and Description |
---|---|
protected static void |
Presence.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 . |
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 void |
Presence.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 Packet |
Presence.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 |
Presence.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. |
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 static void |
Presence.updateResourcesAvailable(XMPPResourceConnection session,
StanzaType type,
Packet packet)
Method updates resources information upon receiving initial availability
presence (type available or missing type)
|
Modifier and Type | Method and Description |
---|---|
Set<StanzaType> |
AnnotatedXMPPProcessor.supTypes() |
Modifier and Type | Field and Description |
---|---|
static EnumSet<StanzaType> |
RosterAbstract.INITIAL_PRESENCES
Field description
|
Copyright © 2018 "Tigase, Inc.". All rights reserved.