Modifier and Type | Method and Description |
---|---|
Element |
BruteForceLockerBean.BruteForceLockerVHostExtension.toElement() |
Modifier and Type | Method and Description |
---|---|
void |
BruteForceLockerBean.BruteForceLockerVHostExtension.initFromElement(Element item) |
Modifier and Type | Method and Description |
---|---|
Element |
VirtualComponent.getDiscoInfo(String node,
JID jid,
JID from) |
Modifier and Type | Method and Description |
---|---|
List<Element> |
VirtualComponent.getDiscoFeatures(JID from) |
List<Element> |
VirtualComponent.getDiscoItems(String node,
JID jid,
JID from) |
Modifier and Type | Method and Description |
---|---|
void |
ClusterController.handleClusterPacket(Element packet) |
void |
SessionManagerClustered.processPresenceUpdate(XMPPSession session,
Element packet) |
void |
ClusterController.sendToNodes(String command,
Element packet,
JID fromNode,
Set<JID> visitedNodes,
JID... toNodes) |
void |
ClusterController.sendToNodes(String command,
Map<String,String> data,
Element packet,
JID fromNode,
Set<JID> visitedNodes,
JID... toNodes) |
Modifier and Type | Method and Description |
---|---|
void |
AmpComponentClustered.PacketForwardCommand.executeCommand(JID fromNode,
Set<JID> visitedNodes,
Map<String,String> data,
Queue<Element> packets) |
void |
ClusterController.sendToNodes(String command,
Map<String,String> data,
Queue<Element> packets,
JID fromNode,
Set<JID> visitedNodes,
JID... toNodes) |
void |
ClusterController.sendToNodes(String command,
Queue<Element> packets,
JID fromNode,
Set<JID> visitedNodes,
JID... toNodes) |
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) |
Element |
ClusterElement.getClusterElement(String id) |
Modifier and Type | Method and Description |
---|---|
Queue<Element> |
ClusterElement.getDataPackets() |
Modifier and Type | Method and Description |
---|---|
void |
ClusterElement.addDataPacket(Element packet) |
void |
ClusterControllerIfc.handleClusterPacket(Element packet)
Method handles cluster packet received from cluster connection.
|
protected void |
ClusterElement.parseMethodCall(Element method_call) |
void |
SessionManagerClusteredIfc.processPresenceUpdate(XMPPSession session,
Element element) |
void |
ClusterControllerIfc.sendToNodes(String command,
Element packet,
JID fromNode,
Set<JID> visitedNodes,
JID... toNodes)
Method which sends command to desired nodes
|
void |
ClusterControllerIfc.sendToNodes(String command,
Map<String,String> data,
Element packet,
JID fromNode,
Set<JID> visitedNodes,
JID... toNodes)
Method which sends command to desired nodes
|
Modifier and Type | Method and Description |
---|---|
void |
ClusterElement.addDataPackets(Queue<Element> packets) |
void |
CommandListener.executeCommand(JID fromNode,
Set<JID> visitedNodes,
Map<String,String> data,
Queue<Element> packets)
Method is responsible for executing commands from other nodes and appropriate processing
|
void |
ClusterControllerIfc.sendToNodes(String command,
Map<String,String> data,
Queue<Element> packets,
JID fromNode,
Set<JID> visitedNodes,
JID... toNodes)
Method which sends command to desired nodes
|
void |
ClusterControllerIfc.sendToNodes(String command,
Queue<Element> packets,
JID fromNode,
Set<JID> visitedNodes,
JID... toNodes)
Method which sends command to desired nodes
|
Constructor and Description |
---|
ClusterElement(Element elem)
Creates a new
ClusterElement instance. |
Modifier and Type | Method and Description |
---|---|
Element |
ClusterRepoItem.toElement() |
Modifier and Type | Method and Description |
---|---|
void |
ClusterRepoItem.initFromElement(Element elem) |
Modifier and Type | Method and Description |
---|---|
Element |
ConnectionRecordIfc.toElement() |
Element |
ConnectionRecord.toElement() |
Modifier and Type | Method and Description |
---|---|
void |
ConnectionRecordIfc.setElement(Element elem) |
void |
ConnectionRecord.setElement(Element elem) |
Modifier and Type | Method and Description |
---|---|
void |
PacketForwardCmd.executeCommand(JID fromNode,
Set<JID> visitedNodes,
Map<String,String> data,
Queue<Element> packets) |
Modifier and Type | Method and Description |
---|---|
List<Element> |
ComponenScriptCommandProcessor.getScriptItems(String node,
JID jid,
JID from) |
Modifier and Type | Method and Description |
---|---|
Element |
AdHocResponse.addDataForm(Command.DataType dataType) |
Element |
AdHocResponse.addDataForm(Command.DataType dataType,
Consumer<Element> consumer) |
Element |
AdhHocRequest.getCommand() |
Element |
AdHocCommandException.getItem() |
Element |
AdHocCommandException.makeElement() |
Element |
AdHocCommandException.makeElement(boolean insertOriginal) |
Element |
AdHocCommandException.makeElement(Element sourceElement) |
Element |
AdHocCommandException.makeErrorElement() |
Modifier and Type | Method and Description |
---|---|
List<Element> |
AdHocScriptCommandManager.getCommandListItems(JID senderJid,
JID toJid) |
Collection<Element> |
AdHocResponse.getElements() |
Modifier and Type | Method and Description |
---|---|
Element |
AdHocCommandException.makeElement(Element sourceElement) |
void |
AdHocCommandManager.process(Packet packet,
Element commandElement,
String node,
String action,
String sessionId,
AdHocCommand adHocCommand,
Consumer<Packet> resultConsumer) |
Modifier and Type | Method and Description |
---|---|
Element |
AdHocResponse.addDataForm(Command.DataType dataType,
Consumer<Element> consumer) |
Constructor and Description |
---|
AdHocCommandException(Element item,
Authorization errorCondition) |
AdHocCommandException(Element item,
Authorization errorCondition,
String message) |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractModule.fireEvent(Element event)
Fires event.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
AdHocCommandModule.getCommandListItems(JID senderJid,
JID toJid) |
List<Element> |
AdHocCommandModule.getScriptItems(String node,
JID stanzaTo,
JID stanzaFrom) |
List<Element> |
AdHocCommandModule.ScriptCommandProcessor.getScriptItems(String node,
JID jid,
JID from) |
Modifier and Type | Method and Description |
---|---|
void |
AdHocCommandModule.addCommandListItemsElements(String node,
JID stanzaTo,
JID stanzaFrom,
Consumer<Element> collector) |
Modifier and Type | Method and Description |
---|---|
Element |
ConfiguratorOld.getDiscoInfo(String node,
JID jid,
JID from) |
Element |
ConfigItem.toElement() |
Modifier and Type | Method and Description |
---|---|
List<Element> |
ConfiguratorOld.getDiscoFeatures(JID from) |
List<Element> |
ConfiguratorOld.getDiscoItems(String node,
JID jid,
JID from) |
Modifier and Type | Method and Description |
---|---|
void |
ConfigItem.initFromElement(Element elem) |
Modifier and Type | Method and Description |
---|---|
boolean |
Or.match(Element element) |
boolean |
ElementCriteria.match(Element element) |
boolean |
Criteria.match(Element element) |
Modifier and Type | Method and Description |
---|---|
Element |
OfflineMsgRepositoryIfc.getMessageExpired(long time,
boolean delete)
Loads head of the payloads queue which holds items that would be expired after stated time with an option to
delete them from repository after being retrieved.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
MsgRepositoryIfc.getMessagesList(JID to) |
Queue<Element> |
MsgRepositoryIfc.loadMessagesToJID(List<String> db_ids,
XMPPResourceConnection session,
boolean delete,
MsgRepository.OfflineMessagesProcessor proc) |
Queue<Element> |
OfflineMsgRepositoryIfc.loadMessagesToJID(XMPPResourceConnection session,
boolean delete)
Loads all payloads for the given user's
JID from repository. |
Modifier and Type | Method and Description |
---|---|
boolean |
OfflineMsgRepositoryIfc.storeMessage(JID from,
JID to,
Date expired,
Element msg,
NonAuthUserRepository userRepo)
Saves the massage to the repository
|
Modifier and Type | Method and Description |
---|---|
Element |
RepositoryItemAbstract.toElement() |
Element |
RepositoryItem.toElement()
Item data can be stored in a more complex form than a simple property string.
|
Modifier and Type | Method and Description |
---|---|
void |
RepositoryItemAbstract.initFromElement(Element elem) |
void |
RepositoryItem.initFromElement(Element elem)
The item can be also initialized from a more complex repositories: XML repository or SQL database.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
XMLMsgRepository.getMessagesList(JID to) |
Queue<Element> |
XMLMsgRepository.loadMessagesToJID(List<String> db_ids,
XMPPResourceConnection session,
boolean delete,
MsgRepository.OfflineMessagesProcessor proc) |
Queue<Element> |
XMLMsgRepository.loadMessagesToJID(XMPPResourceConnection session,
boolean delete) |
Modifier and Type | Method and Description |
---|---|
boolean |
XMLMsgRepository.storeMessage(JID from,
JID to,
Date expired,
Element msg,
NonAuthUserRepository userRepo) |
Modifier and Type | Method and Description |
---|---|
Element[] |
ServiceEntity.getDiscoFeatures(String node) |
Element |
ServiceEntity.getDiscoInfo(String node) |
Element |
ServiceEntity.getDiscoInfo(String node,
boolean admin) |
Element |
XMPPService.getDiscoInfo(String node,
JID jid,
JID from)
Returns service discovery info for the component.
|
Element |
ServiceEntity.getDiscoItem(String node,
String jid) |
Element |
ServiceIdentity.getElement() |
Modifier and Type | Method and Description |
---|---|
Optional<Element> |
ServiceEntity.getCaps(boolean admin,
String domain) |
List<Element> |
XMPPService.getDiscoFeatures(JID from)
Returns features for top level disco info
|
List<Element> |
XMPPService.getDiscoItems(String node,
JID jid,
JID from)
Returns service discovery items for the component.
|
List<Element> |
ServiceEntity.getDiscoItems(String node,
String jid) |
List<Element> |
ServiceEntity.getDiscoItems(String node,
String jid,
boolean admin) |
List<Element> |
ServiceEntity.getItems(String node,
String jid) |
List<Element> |
ServiceEntity.getItems(String node,
String jid,
boolean admin) |
Modifier and Type | Method and Description |
---|---|
static String[] |
ServiceIdentity.getServiceIdentitiesCapsFromDiscoInfo(Element discoInfo) |
static ServiceIdentity[] |
ServiceIdentity.getServiceIdentitiesFromDiscoInfo(Element discoInfo) |
Constructor and Description |
---|
ServiceEntity(String jid,
String node,
String name,
Function<String,Element> extensionSupplier) |
ServiceEntity(String jid,
String node,
String name,
Function<String,Element> extensionSupplier,
boolean adminOnly) |
Modifier and Type | Method and Description |
---|---|
void |
EventBus.addListener(String packageName,
String eventName,
EventListener<Element> listener)
Adds listener of event to EventBus.
|
Modifier and Type | Method and Description |
---|---|
protected Element |
SubscribeModule.processClusterSubscription(Packet packet) |
protected Element |
SubscribeModule.processNonClusterSubscription(Packet packet) |
Modifier and Type | Method and Description |
---|---|
boolean |
ElemPathCriteria.match(Element element) |
void |
EventPublisherModule.publishEvent(Element event) |
void |
EventPublisherModule.publishEvent(String eventPackage,
String name,
Element event,
Collection<Subscription> subscribers) |
Modifier and Type | Method and Description |
---|---|
protected void |
SubscribeModule.sendSubscribeRequest(String to,
Collection<Element> subscriptionElements) |
protected void |
UnsubscribeModule.sendUnsubscribeRequest(String to,
Collection<Element> subscriptionElement) |
Modifier and Type | Method and Description |
---|---|
Element |
Serializer.serialize(Object object) |
Element |
EventBusSerializer.serialize(Object object) |
Modifier and Type | Method and Description |
---|---|
<T> T |
Serializer.deserialize(Element element) |
<T> T |
EventBusSerializer.deserialize(Element element) |
Modifier and Type | Method and Description |
---|---|
void |
EventBusImplementation.addListener(String packageName,
String eventName,
EventListener<Element> listener) |
void |
EventBusImplementation.addListener(String packageName,
String eventName,
EventSourceListener<Element> listener) |
Modifier and Type | Method and Description |
---|---|
Element |
MultiItemForm.getElement() |
Element |
Form.getElement() |
Element |
Field.getElement() |
Element |
AbstractForm.getElement() |
Element |
Field.getElement(boolean type,
boolean label) |
Modifier and Type | Method and Description |
---|---|
void |
Form.copyValuesFrom(Element form) |
long |
FormSignatureVerifier.verify(JID to,
Element form)
Verify signature of given form.
|
long |
FormSignatureVerifier.verify(JID to,
Element form,
FormSignatureVerifier.SignatureVerifyHandler handler)
Verify signature of given form.
|
Constructor and Description |
---|
AbstractForm(Element form) |
Field(Element fieldElement) |
Form(Element form) |
MultiItemForm(Element form) |
Modifier and Type | Method and Description |
---|---|
Element |
SSLContextContainer.HardenedModeVHostItemExtension.toElement() |
Modifier and Type | Method and Description |
---|---|
void |
SSLContextContainer.HardenedModeVHostItemExtension.initFromElement(Element item) |
Modifier and Type | Method and Description |
---|---|
Element |
TaskConfigItem.toElement() |
Modifier and Type | Method and Description |
---|---|
Collection<Element> |
AdHocTask.getAdHocCommands(JID toJID,
JID senderJID) |
Modifier and Type | Method and Description |
---|---|
void |
TaskConfigItem.initFromElement(Element elem) |
Modifier and Type | Method and Description |
---|---|
static Element |
ConnectionsTask.createAlarmEvent(int currentOnlineUsers,
int lastOnlineUsers,
int thresholdMinimal,
int threshold)
Creates alarm event if required.
|
Modifier and Type | Field and Description |
---|---|
protected Element |
Packet.elem |
protected static Element |
ConnectionManager.pingElement |
Modifier and Type | Method and Description |
---|---|
static Element |
DataForm.addDataForm(Element el,
Command.DataType data_type) |
Element |
DataForm.Builder.build() |
Element |
DataForm.Field.Builder.build() |
Element |
DataForm.Item.Builder.build() |
Element |
DataForm.Reported.Builder.build() |
protected static Element |
Command.createCommandEl(String node,
Command.DataType data_type) |
static Element |
DataForm.createDataForm(Command.DataType data_type) |
static Element |
Command.createIqCommand(JID from,
JID to,
StanzaType type,
String id,
String node,
Command.DataType data_type) |
static Element |
Command.getData(Packet packet,
String el_name,
String xmlns) |
Element |
BasicComponent.getDiscoExtensionsForm(String domain) |
Element |
MessageRouter.getDiscoInfo(JID toJid,
JID fromJid,
String node) |
Element |
BasicComponent.getDiscoInfo(String node,
JID jid,
JID from) |
Element |
Packet.getElemChild(String name) |
Element |
Packet.getElemChild(String name,
String xmlns) |
Element |
Packet.getElement()
Method returns the stanza XML element in DOM format.
|
Element |
ComponentInfo.toElement()
Allows retrieving of component's information as Element
|
Element |
BasicComponent.ServerInfoVHostItemExtension.toElement() |
Modifier and Type | Method and Description |
---|---|
static List<Element> |
Command.getData(Packet packet) |
List<Element> |
BasicComponent.getDiscoFeatures()
Method returns list of features provided by this component.
|
List<Element> |
BasicComponent.getDiscoFeatures(JID from)
Method returns list of features provided by this component for provided JID.
|
List<Element> |
BasicComponent.getDiscoItems(String node,
JID jid,
JID from) |
List<Element> |
Packet.getElemChildrenStaticStr(String[] xmlPath)
Method returns a list of all XML children from the enclosed stanza for a given stanza element or child pointed by
the
xmlPath parameter. |
List<Element> |
BasicComponent.getScriptItems(String node,
JID jid,
JID from) |
Optional<Element> |
MessageRouter.getServiceEntityCaps(JID fromJid) |
Optional<Element> |
BasicComponent.getServiceEntityCaps(JID fromJid) |
Modifier and Type | Method and Description |
---|---|
static void |
DataForm.addCheckBoxField(Element el,
String f_name,
boolean f_value)
Data form-types as defined in the XEP-0050.
|
static Element |
DataForm.addDataForm(Element el,
Command.DataType data_type) |
static void |
DataForm.addField(Element el,
String f_name,
String f_label,
String type) |
static void |
DataForm.addFieldMultiValue(Element el,
String f_name,
List<String> f_value) |
static void |
DataForm.addFieldMultiValue(Element el,
String f_name,
List<String> f_value,
String label) |
static void |
DataForm.addFieldMultiValue(Element el,
String f_name,
Throwable ex) |
static void |
DataForm.addFieldValue(Element el,
String f_name,
String f_value) |
static void |
DataForm.addFieldValue(Element el,
String f_name,
String[] f_values,
String label,
String[] labels,
String[] options) |
static void |
DataForm.addFieldValue(Element el,
String f_name,
String f_value,
String type) |
static void |
DataForm.addFieldValue(Element el,
String f_name,
String f_value,
String type,
String label) |
static void |
DataForm.addFieldValue(Element el,
String f_name,
String f_value,
String label,
String[] labels,
String[] options) |
static void |
DataForm.addFieldValue(Element el,
String f_name,
String f_value,
String label,
String[] labels,
String[] options,
String type) |
static void |
DataForm.addHiddenField(Element el,
String f_name,
String f_value) |
static void |
DataForm.addInstructions(Element el,
String instructions) |
static void |
DataForm.addTextField(Element el,
String f_name,
String f_value) |
static void |
DataForm.addTitle(Element el,
String title) |
static String |
Packet.elemToString(Element el)
Method trims
Element stanza to 1024 characters and returns String representation of the element |
static String |
Packet.elemToStringSecure(Element el)
Method trims
Element stanza to 1024 characters and returns String representation of the element. |
static String |
DataForm.getFieldKeyStartingWith(Element el,
String f_name) |
static Set<String> |
DataForm.getFields(Element el) |
static String |
DataForm.getFieldValue(Element el,
String f_name) |
static String[] |
DataForm.getFieldValues(Element el,
String f_name) |
static String |
DataForm.getFormType(Element form) |
void |
BasicComponent.ServerInfoVHostItemExtension.initFromElement(Element item) |
Packet |
Packet.okResult(Element includeXML,
int originalXML)
Method returns a modified copy of the
Packet with its stanza as stanza result used for
reporting IQ stanza results. |
static Packet |
Packet.packetInstance(Element elem)
The method returns
Packet instance. |
static Packet |
Packet.packetInstance(Element elem,
JID stanzaFrom,
JID stanzaTo)
The method returns
Packet instance. |
static boolean |
DataForm.removeFieldValue(Element el,
String f_name) |
static void |
Command.setData(Packet packet,
Element data) |
Packet |
Packet.swapFromTo(Element el,
JID stanzaFrom,
JID stanzaTo)
The method creates a new instance of the
Packet class with the packet source and destination
addresses swapped and sets the given stanza element plus source and destination addresses for the new stanza. |
Modifier and Type | Method and Description |
---|---|
static void |
Command.setData(Packet packet,
List<Element> data) |
String |
ConnectionManager.xmppStreamError(IO serv,
List<Element> err_el) |
Constructor and Description |
---|
Builder(Element x) |
Builder(Element x) |
Builder(Element parent,
Command.DataType type) |
Builder(Element form,
DataForm.FieldType type,
String var) |
Iq(Element elem) |
Iq(Element elem,
JID stanzaFrom,
JID stanzaTo) |
Message(Element elem) |
Message(Element elem,
JID stanzaFrom,
JID stanzaTo) |
Packet(Element elem)
A constructor creating the
Packet instance. |
Packet(Element elem,
JID stanzaFrom,
JID stanzaTo)
A constructor creating the
Packet instance. |
Presence(Element elem) |
Presence(Element elem,
JID stanzaFrom,
JID stanzaTo) |
Modifier and Type | Method and Description |
---|---|
Element |
AmpComponent.getDiscoInfo(String node,
JID jid,
JID from) |
Modifier and Type | Method and Description |
---|---|
boolean |
ActionIfc.execute(Packet packet,
Element rule) |
boolean |
ConditionIfc.match(Packet packet,
Element rule) |
protected Packet |
ActionAbstract.prepareAmpPacket(Packet packet,
Element rule) |
Modifier and Type | Method and Description |
---|---|
boolean |
Store.execute(Packet packet,
Element rule) |
boolean |
Notify.execute(Packet packet,
Element rule) |
boolean |
Error.execute(Packet packet,
Element rule) |
boolean |
Drop.execute(Packet packet,
Element rule) |
boolean |
Deliver.execute(Packet packet,
Element rule) |
boolean |
Alert.execute(Packet packet,
Element rule) |
Modifier and Type | Method and Description |
---|---|
boolean |
MatchResource.match(Packet packet,
Element rule) |
boolean |
ExpireAt.match(Packet packet,
Element rule) |
boolean |
Deliver.match(Packet packet,
Element rule) |
Modifier and Type | Field and Description |
---|---|
Element |
MsgRepository.MsgDBItem.msg |
Modifier and Type | Method and Description |
---|---|
Element |
MsgRepository.getMessageExpired(long time,
boolean delete) |
Element |
MsgRepository.MsgRepositoryMDBean.getMessageExpired(long time,
boolean delete) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
MsgBroadcastRepository.insertBroadcastMessage(String id,
Element msg,
Date expire,
BareJID recipient) |
protected void |
JDBCMsgBroadcastRepository.insertBroadcastMessage(String id,
Element msg,
Date expire,
BareJID recipient) |
void |
MsgRepository.OfflineMessagesProcessor.stamp(Element msg,
String msgID) |
boolean |
MsgRepository.MsgRepositoryMDBean.storeMessage(JID from,
JID to,
Date expired,
Element msg,
NonAuthUserRepository userRepo) |
boolean |
JDBCMsgRepository.storeMessage(JID from,
JID to,
Date expired,
Element msg,
NonAuthUserRepository userRepo) |
boolean |
MsgBroadcastRepositoryIfc.updateBroadcastMessage(String id,
Element msg,
Date expire,
BareJID recipient) |
boolean |
MsgBroadcastRepository.updateBroadcastMessage(String id,
Element msg,
Date expire,
BareJID recipient) |
boolean |
MsgBroadcastRepository.MsgBroadcastRepositoryBean.updateBroadcastMessage(String id,
Element msg,
Date expire,
BareJID recipient) |
Constructor and Description |
---|
BroadcastMsg(T db_id,
Element msg,
Date expired) |
MsgDBItem(T db_id,
Element msg,
Date expired) |
Modifier and Type | Method and Description |
---|---|
Element |
BoshSessionTaskHandler.getSeeOtherHostError(Packet packet,
BareJID destination) |
Element |
BoshConnectionManager.getSeeOtherHostError(Packet packet,
BareJID destination) |
Modifier and Type | Method and Description |
---|---|
List<Element> |
BoshSessionCache.get(String id) |
List<Element> |
BoshSessionCache.getAll() |
List<Element> |
BoshSessionCache.getAllPresences() |
List<Element> |
BoshSessionCache.getPresence(String... from) |
List<Element> |
BoshSessionCache.remove(String id) |
Modifier and Type | Method and Description |
---|---|
void |
BoshSessionCache.addFromMessage(Element message) |
void |
BoshSessionCache.addPresence(Element presence) |
void |
BoshSessionCache.addRoster(Element roster) |
void |
BoshSessionCache.addToMessage(Element message) |
Modifier and Type | Method and Description |
---|---|
void |
BoshSessionCache.add(String id,
List<Element> data) |
void |
BoshSessionCache.set(String id,
List<Element> data) |
Modifier and Type | Method and Description |
---|---|
Element |
CompRepoItem.toElement() |
Modifier and Type | Method and Description |
---|---|
List<Element> |
ComponentProtocolHandler.getStreamFeatures(ComponentIOService serv) |
List<Element> |
ComponentProtocol.getStreamFeatures(ComponentIOService serv) |
List<Element> |
ExtProcessor.getStreamFeatures(ComponentIOService serv,
ComponentProtocolHandler handler) |
Modifier and Type | Method and Description |
---|---|
void |
CompRepoItem.initFromElement(Element elem) |
Modifier and Type | Method and Description |
---|---|
List<Element> |
StreamFeaturesProcessor.getStreamFeatures(ComponentIOService serv,
ComponentProtocolHandler handler) |
List<Element> |
StartTLSProcessor.getStreamFeatures(ComponentIOService serv,
ComponentProtocolHandler handler) |
List<Element> |
SASLProcessor.getStreamFeatures(ComponentIOService serv,
ComponentProtocolHandler handler) |
List<Element> |
HandshakeProcessor.getStreamFeatures(ComponentIOService serv,
ComponentProtocolHandler handler) |
List<Element> |
BindProcessor.getStreamFeatures(ComponentIOService serv,
ComponentProtocolHandler handler) |
Modifier and Type | Method and Description |
---|---|
Element |
ExtServiceDiscoItem.toElement() |
Modifier and Type | Method and Description |
---|---|
void |
ExtServiceDiscoItem.initFromElement(Element elem) |
Modifier and Type | Method and Description |
---|---|
protected void |
WebSocketClientConnectionManager.preprocessStreamFeatures(XMPPIOService<Object> serv,
Element elem_features) |
Modifier and Type | Method and Description |
---|---|
protected String |
WebSocketClientConnectionManager.prepareStreamError(XMPPIOService<Object> serv,
List<Element> err_el) |
Modifier and Type | Method and Description |
---|---|
default Element |
SeeOtherHostIfc.getStreamError(String xmlns,
BareJID destination,
Integer port)
Returns Element object containing stream:error message
|
Element[] |
XMPPIOProcessor.supStreamFeatures(XMPPIOService service)
Returns array of features added by this processor
|
Element[] |
StreamManagementIOProcessor.supStreamFeatures(XMPPIOService service) |
Element[] |
StreamErrorCounterIOProcessor.supStreamFeatures(XMPPIOService service) |
Element[] |
RegistrationThrottlingProcessor.supStreamFeatures(XMPPIOService service) |
Element |
SeeOtherHost.SeeOtherHostVHostItemExtension.toElement() |
Element |
ClientTrustManagerFactory.ClientTrustVHostItemExtension.toElement() |
Modifier and Type | Method and Description |
---|---|
void |
SeeOtherHost.SeeOtherHostVHostItemExtension.initFromElement(Element item) |
void |
ClientTrustManagerFactory.ClientTrustVHostItemExtension.initFromElement(Element item) |
protected void |
ClientConnectionManager.preprocessStreamFeatures(XMPPIOService<Object> serv,
Element elem_features) |
Modifier and Type | Method and Description |
---|---|
protected String |
ClientConnectionManager.prepareStreamError(XMPPIOService<Object> serv,
List<Element> err_el) |
String |
ClientConnectionManager.xmppStreamError(XMPPIOService<Object> serv,
List<Element> err_el) |
Modifier and Type | Method and Description |
---|---|
Element |
ComponentConnectionManager.getDiscoInfo(String node,
JID jid,
JID from)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
ComponentConnectionManager.getDiscoFeatures(JID from)
Deprecated.
|
List<Element> |
ComponentConnectionManager.getDiscoItems(String node,
JID jid,
JID from)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<Element> |
S2SConnectionManager.getStreamFeatures(S2SIOService serv) |
List<Element> |
S2SConnectionHandlerIfc.getStreamFeatures(S2SIOService serv)
Returns stream features available for particular S2S connection.
|
Modifier and Type | Method and Description |
---|---|
boolean |
S2SConnectionManager.sendVerifyResult(String elem_name,
CID connCid,
CID keyCid,
Boolean valid,
String key_sessionId,
String serv_sessionId,
String cdata,
boolean handshakingOnly,
Element errorElem) |
boolean |
S2SConnectionHandlerIfc.sendVerifyResult(String elem_name,
CID connCid,
CID keyCid,
Boolean valid,
String key_sessionId,
String serv_sessionId,
String cdata,
boolean handshakingOnly,
Element errorElem) |
Modifier and Type | Method and Description |
---|---|
void |
S2SProcessor.streamFeatures(S2SIOService serv,
List<Element> results) |
Modifier and Type | Method and Description |
---|---|
void |
StartZlib.streamFeatures(S2SIOService serv,
List<Element> results) |
void |
StartTLS.streamFeatures(S2SIOService serv,
List<Element> results) |
void |
SaslExternal.streamFeatures(S2SIOService serv,
List<Element> results) |
void |
S2SAbstractProcessor.streamFeatures(S2SIOService serv,
List<Element> results) |
void |
Dialback.streamFeatures(S2SIOService serv,
List<Element> results) |
Modifier and Type | Method and Description |
---|---|
Element |
SessionManager.getDiscoInfo(String node,
JID jid,
JID from) |
Modifier and Type | Method and Description |
---|---|
List<Element> |
SessionManager.getDiscoFeatures(JID from) |
List<Element> |
SessionManager.getDiscoItems(String node,
JID jid,
JID from) |
Modifier and Type | Method and Description |
---|---|
protected void |
SessionManager.processPresenceUpdate(XMPPSession session,
Element packet) |
Modifier and Type | Method and Description |
---|---|
Element |
StatisticsCollector.getDiscoInfo(String node,
JID jid,
JID from) |
Modifier and Type | Method and Description |
---|---|
List<Element> |
StatisticsCollector.getDiscoFeatures(JID from) |
List<Element> |
StatisticsCollector.getDiscoItems(String node,
JID jid,
JID from) |
Modifier and Type | Method and Description |
---|---|
Element |
VHostItemImpl.toElement() |
Element |
VHostItemImpl.VHostItemWrapper.toElement() |
Element |
VHostItemExtensionIfc.toElement() |
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractVHostItemExtension.addBooleanFieldWithDefaultToCommand(Element commandEl,
String var,
String label,
Boolean value,
boolean forDefault) |
void |
VHostItemImpl.initFromElement(Element elem) |
void |
VHostItemImpl.VHostItemWrapper.initFromElement(Element elem) |
void |
VHostItemExtensionIfc.initFromElement(Element item) |
Constructor and Description |
---|
VHostItemImpl(Element elem)
The constructor creates the
VHostItem instance from a given XML element. |
Modifier and Type | Method and Description |
---|---|
List<Element> |
Element.findChildren(Element.Matcher<Element> matcher) |
List<Element> |
Element.getChildren() |
List<Element> |
Element.getChildren(Element.Matcher<Element> matcher) |
List<Element> |
Element.getChildren(String elementPath)
Deprecated.
use
getChildren(java.lang.String[]) instead. |
List<Element> |
Element.getChildren(String[] elementPath) |
List<Element> |
Element.getChildrenStaticStr(String[] elementPath) |
Queue<Element> |
DomBuilderHandler.getParsedElements() |
Modifier and Type | Method and Description |
---|---|
int |
Element.compareTo(Element elem) |
boolean |
Element.removeChild(Element child) |
Modifier and Type | Method and Description |
---|---|
void |
Element.addChildren(List<Element> children) |
Element |
Element.findChild(Element.Matcher<Element> matcher) |
List<Element> |
Element.findChildren(Element.Matcher<Element> matcher) |
<R> List<R> |
Element.flatMapChildren(Function<Element,Collection<? extends R>> mapper) |
void |
Element.forEachChild(Consumer<Element> consumer) |
String |
Element.getChildCData(Element.Matcher<Element> matcher) |
List<Element> |
Element.getChildren(Element.Matcher<Element> matcher) |
<R> R |
Element.map(Function<Element,? extends R> mapper) |
<R> List<R> |
Element.mapChildren(Element.Matcher<Element> matcher,
Function<Element,? extends R> mapper) |
<R> List<R> |
Element.mapChildren(Element.Matcher<Element> matcher,
Function<Element,? extends R> mapper) |
<R> List<R> |
Element.mapChildren(Function<Element,? extends R> mapper) |
boolean |
Element.matches(Element.Matcher<Element> matcher) |
Element |
Element.withElement(String name,
Consumer<Element> consumer) |
Element |
Element.withElement(String name,
String xmlns,
Consumer<Element> consumer) |
Constructor and Description |
---|
Element(Element element) |
Element(String argName,
Element[] children,
String[] att_names,
String[] att_values) |
Modifier and Type | Class and Description |
---|---|
class |
DBElement
DBElement class extends tigase.xml.Element . |
Modifier and Type | Method and Description |
---|---|
Element |
DBElementFactory.elementInstance(String name,
String cdata,
StringBuilder[] attnames,
StringBuilder[] attvalues)
Describe
elementInstance method here. |
Modifier and Type | Method and Description |
---|---|
Element |
XMPPResourceConnection.getPresence()
Returns last presence packet with the user presence status or
null if the user has not yet sent an
initial presence. |
Element[] |
XMPPProcessor.supDiscoFeatures(XMPPResourceConnection session) |
Element[] |
XMPPImplIfc.supDiscoFeatures(XMPPResourceConnection session)
Method
supDiscoFeatures returns an array of XML Element s with service discovery
features which have to be returned to the client uppon request. |
Element[] |
XMPPProcessor.supStreamFeatures(XMPPResourceConnection session) |
Element[] |
XMPPImplIfc.supStreamFeatures(XMPPResourceConnection session)
Method
supStreamFeatures returns an array of XML Element s with stream features which
have to be returned to the client uppon request. |
Modifier and Type | Method and Description |
---|---|
Queue<Element> |
XMPPDomBuilderHandler.getParsedElements() |
Modifier and Type | Method and Description |
---|---|
void |
XMPPResourceConnection.setPresence(Element packet) |
Modifier and Type | Method and Description |
---|---|
String |
XMPPIOServiceListener.xmppStreamError(IO serv,
List<Element> err_el) |
Modifier and Type | Field and Description |
---|---|
protected static Element |
JabberIqPrivacy.BLOCKED_ELEM |
protected static Element[] |
JabberIqPrivacy.DISCO_FEATURES |
Modifier and Type | Field and Description |
---|---|
protected static Comparator<Element> |
JabberIqPrivacy.compar |
Modifier and Type | Method and Description |
---|---|
protected Optional<Element> |
LastActivityAbstract.getPresence(NonAuthUserRepository repo,
BareJID requestedJid) |
Modifier and Type | Method and Description |
---|---|
static void |
Privacy.addList(XMPPResourceConnection session,
Element list) |
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 Element |
VCardXMPPProcessorAbstract.convertVCard4ToVCardTemp(Element vcard4) |
static Element |
VCardXMPPProcessorAbstract.convertVCardTempToVCard4(Element vcardTemp) |
static PrivacyList |
PrivacyList.create(Map<BareJID,RosterElement> roster,
Element el) |
static PrivacyList |
PrivacyList.create(XMPPResourceConnection session,
RosterAbstract rosterUtil,
Element el) |
protected void |
JabberIqRegister.doGetRegistrationForm(Packet packet,
Element request,
XMPPResourceConnection session,
Queue<Packet> results) |
protected void |
JabberIqRegister.doRemoveAccount(Packet packet,
Element request,
XMPPResourceConnection session,
Queue<Packet> results) |
Element |
VCardTemp.extend(Element presence,
XMPPResourceConnection session,
Queue<Packet> results) |
default Element |
PresenceState.ExtendedPresenceProcessorIfc.extend(Element presence,
XMPPResourceConnection session,
Queue<Packet> results) |
static void |
C2SDeliveryErrorProcessor.filterErrorElement(Element messageElem) |
static String |
PresenceCapabilitiesManager.generateVerificationString(String[] identities,
String[] features,
Element extensions) |
static String |
PresenceCapabilitiesManager.generateVerificationStringFromDiscoInfo(Element discoInfo) |
static String[] |
PresenceCapabilitiesManager.getFeaturesFromDiscoInfo(Element discoInfo) |
static String[] |
JabberIqRoster.getItemGroups(Element item)
Returns an array of group names retrieved from Element item
|
void |
PresenceSubscription.PresenceSubscriptionVHostItemExtension.initFromElement(Element item) |
protected static void |
LastActivityAbstract.persistLastActivity(XMPPResourceConnection session,
Element presence) |
static String[] |
PresenceCapabilitiesManager.processPresence(Element c) |
static void |
Privacy.removeList(XMPPResourceConnection session,
Element list) |
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. |
static void |
Privacy.setDefaultList(XMPPResourceConnection session,
Element list) |
protected void |
VCardXMPPProcessorAbstract.setVCard(XMPPResourceConnection session,
Element vcard) |
protected abstract void |
VCardXMPPProcessorAbstract.storeVCard(XMPPResourceConnection session,
Element vcard) |
protected void |
VCardTemp.storeVCard(XMPPResourceConnection session,
Element elvCard) |
protected void |
VCard4.storeVCard(XMPPResourceConnection session,
Element elvCard) |
static void |
RemoteRosterManagement.updateBuddyChange(XMPPResourceConnection session,
Element item,
Element update,
Queue<Packet> results) |
static void |
PresenceAbstract.updateUserResources(Element presence,
XMPPResourceConnection session,
Queue<Packet> results,
boolean initial)
updateUserResources method is used to broadcast to all other resources presence
stanza from one user resource. |
Modifier and Type | Method and Description |
---|---|
static void |
PresenceCapabilitiesManager.prepareCapsQueriesEl(JID compJid,
JID to,
String[] caps_nodes,
Queue<Element> results) |
static Authorization |
JabberIqPrivacy.validateList(XMPPResourceConnection session,
List<Element> items) |
Constructor and Description |
---|
PrivacyList(Function<JID,RosterElement> rosterElementGetter,
Element el) |
Modifier and Type | Method and Description |
---|---|
Element[] |
AnnotatedXMPPProcessor.supDiscoFeatures(XMPPResourceConnection session) |
Element[] |
AnnotatedXMPPProcessor.supStreamFeatures(XMPPResourceConnection session) |
Modifier and Type | Method and Description |
---|---|
protected Element |
PushNotifications.createSettingsElement(JID jid,
String node,
Element enableElem,
Element optionsForm) |
protected Element |
AbstractPushNotifications.createSettingsElement(JID jid,
String node,
Element enableElem,
Element optionsForm) |
default Element[] |
PushNotificationsAware.getDiscoFeatures() |
Element[] |
PriorityExtension.getDiscoFeatures() |
Element[] |
MutedFilter.getDiscoFeatures() |
Element[] |
IgnoreFromUnknownFilter.getDiscoFeatures() |
Element[] |
GroupchatFilter.getDiscoFeatures() |
Element[] |
EncryptedPushNotificationExtension.getDiscoFeatures() |
Element[] |
AwayPushNotificationsExtension.getDiscoFeatures() |
protected Element |
PushNotifications.prepareNotificationPayload(Element pushServiceSettings,
Packet packet,
long msgCount) |
protected Element |
AbstractPushNotifications.prepareNotificationPayload(Element pushServiceSettings,
Packet packet,
long msgCount) |
Element[] |
PushNotifications.supDiscoFeatures(XMPPResourceConnection session) |
Modifier and Type | Method and Description |
---|---|
protected Map<String,Element> |
AbstractPushNotifications.getPushServices(BareJID userJid) |
protected Map<String,Element> |
AbstractPushNotifications.getPushServices(XMPPResourceConnection session) |
protected Collection<Element> |
AwayPushNotificationsExtension.getPushServicesForAwayNotifications(XMPPResourceConnection session) |
Modifier and Type | Method and Description |
---|---|
protected Element |
PushNotifications.createSettingsElement(JID jid,
String node,
Element enableElem,
Element optionsForm) |
protected Element |
AbstractPushNotifications.createSettingsElement(JID jid,
String node,
Element enableElem,
Element optionsForm) |
protected void |
AbstractPushNotifications.enableNotifications(XMPPResourceConnection session,
JID jid,
String node,
Element settings) |
protected void |
AbstractPushNotifications.enableNotifications(XMPPResourceConnection session,
JID jid,
String node,
Element enableElem,
Element optionsForm) |
boolean |
PushNotificationsFilter.isSendingNotificationAllowed(BareJID userJid,
XMPPResourceConnection session,
Element pushServiceSettings,
Packet packet) |
protected boolean |
PushNotifications.isSendingNotificationAllowed(BareJID userJid,
XMPPResourceConnection session,
Element pushServiceSettings,
Packet packet) |
boolean |
MutedFilter.isSendingNotificationAllowed(BareJID userJid,
XMPPResourceConnection session,
Element pushServiceSettings,
Packet packet) |
boolean |
IgnoreFromUnknownFilter.isSendingNotificationAllowed(BareJID userJid,
XMPPResourceConnection session,
Element pushServiceSettings,
Packet packet) |
boolean |
GroupchatFilter.isSendingNotificationAllowed(BareJID userJid,
XMPPResourceConnection session,
Element pushServiceSettings,
Packet packet) |
protected boolean |
AbstractPushNotifications.isSendingNotificationAllowed(BareJID userJid,
XMPPResourceConnection session,
Element pushServiceSettings,
Packet packet) |
protected Element |
PushNotifications.prepareNotificationPayload(Element pushServiceSettings,
Packet packet,
long msgCount) |
protected Element |
AbstractPushNotifications.prepareNotificationPayload(Element pushServiceSettings,
Packet packet,
long msgCount) |
default void |
PushNotificationsExtension.prepareNotificationPayload(Element pushServiceSettings,
Packet packet,
long msgCount,
Element notification) |
void |
PriorityExtension.prepareNotificationPayload(Element pushServiceSettings,
Packet packet,
long msgCount,
Element notification) |
void |
EncryptedPushNotificationExtension.prepareNotificationPayload(Element pushServiceSettings,
Packet packet,
long msgCount,
Element notification) |
default void |
PushNotificationsAware.processEnableElement(Element enableEl,
Element settingsEl) |
void |
PriorityExtension.processEnableElement(Element enableEl,
Element settingsEl) |
void |
MutedFilter.processEnableElement(Element enableEl,
Element settingsEl) |
void |
IgnoreFromUnknownFilter.processEnableElement(Element enableEl,
Element settingsEl) |
void |
GroupchatFilter.processEnableElement(Element enableEl,
Element settingsEl) |
void |
EncryptedPushNotificationExtension.processEnableElement(Element enableEl,
Element settingsEl) |
void |
AwayPushNotificationsExtension.processEnableElement(Element enableEl,
Element settingsEl) |
Modifier and Type | Method and Description |
---|---|
protected void |
PushNotifications.notifyOfflineMessagesRetrieved(BareJID userJid,
Collection<Element> pushServices) |
protected void |
AbstractPushNotifications.sendPushNotification(BareJID userJid,
Collection<Element> pushServices,
XMPPResourceConnection session,
Packet packet,
Map<Enum,Long> notificationData) |
Modifier and Type | Field and Description |
---|---|
static Element[] |
RosterAbstract.DISCO_FEATURES |
static Element[] |
RosterAbstract.FEATURES |
Modifier and Type | Method and Description |
---|---|
Element |
RosterFlat.getBuddyItem(RosterElement relem) |
Element |
RosterFlat.getBuddyItem(XMPPResourceConnection session,
JID buddy) |
Element |
RosterAbstract.getBuddyItem(XMPPResourceConnection session,
JID buddy) |
Element |
DynamicRosterTest123.getBuddyItem(XMPPResourceConnection session,
JID buddy) |
Element |
DynamicRosterTest.getBuddyItem(XMPPResourceConnection session,
JID buddy) |
Element |
DynamicRosterIfc.getBuddyItem(XMPPResourceConnection session,
JID buddy)
getBuddyItem method returns buddy item element for a given JID or null if the buddy
doesn't exist on the user roster list. |
Element |
AnonymousRoster.getBuddyItem(XMPPResourceConnection session,
JID buddy) |
static Element |
DynamicRoster.getBuddyItem(XMPPResourceConnection session,
Map<String,Object> settings,
JID buddy) |
Element |
RosterFlat.getCustomChild(XMPPResourceConnection session,
JID buddy) |
abstract Element |
RosterAbstract.getCustomChild(XMPPResourceConnection session,
JID buddy) |
Element |
DynamicRosterTest123.getItemExtraData(Element item) |
Element |
DynamicRosterTest.getItemExtraData(Element item) |
Element |
DynamicRosterIfc.getItemExtraData(Element item)
Returns a new roster Item element with additional, non-standard information for a given item.
|
Element |
AnonymousRoster.getItemExtraData(Element item) |
static Element |
DynamicRoster.getItemExtraData(XMPPResourceConnection session,
Map<String,Object> settings,
Element item) |
Element |
RosterElement.getRosterElement() |
Element |
RosterElement.getRosterItem() |
Modifier and Type | Method and Description |
---|---|
List<Element> |
RosterAbstract.getCustomChildren(XMPPResourceConnection session,
JID buddy) |
List<Element> |
RosterFlat.getRosterItems(XMPPResourceConnection session) |
List<Element> |
RosterAbstract.getRosterItems(XMPPResourceConnection session) |
List<Element> |
DynamicRosterTest123.getRosterItems(XMPPResourceConnection session) |
List<Element> |
DynamicRosterTest.getRosterItems(XMPPResourceConnection session) |
List<Element> |
DynamicRosterIfc.getRosterItems(XMPPResourceConnection session)
getRosterItems method returns a full list with all buddies generated by this dynamic roster
implementation. |
List<Element> |
AnonymousRoster.getRosterItems(XMPPResourceConnection session) |
static List<Element> |
DynamicRoster.getRosterItems(XMPPResourceConnection session,
Map<String,Object> settings) |
Modifier and Type | Method and Description |
---|---|
Element |
DynamicRosterTest123.getItemExtraData(Element item) |
Element |
DynamicRosterTest.getItemExtraData(Element item) |
Element |
DynamicRosterIfc.getItemExtraData(Element item)
Returns a new roster Item element with additional, non-standard information for a given item.
|
Element |
AnonymousRoster.getItemExtraData(Element item) |
static Element |
DynamicRoster.getItemExtraData(XMPPResourceConnection session,
Map<String,Object> settings,
Element item) |
void |
DynamicRosterTest123.setItemExtraData(Element item) |
void |
DynamicRosterTest.setItemExtraData(Element item) |
void |
DynamicRosterIfc.setItemExtraData(Element item) |
void |
AnonymousRoster.setItemExtraData(Element item) |
static void |
DynamicRoster.setItemExtraData(XMPPResourceConnection session,
Map<String,Object> settings,
Element item) |
void |
RosterAbstract.updateBuddyChange(XMPPResourceConnection session,
Queue<Packet> results,
Element item) |
Constructor and Description |
---|
RosterElement(Element roster_el) |
Modifier and Type | Method and Description |
---|---|
Element |
MAMRepository.Item.getMessage() |
Element |
QueryParser.prepareForm(Element elem) |
Element |
MAMQueryParser.prepareForm(Element elem) |
Modifier and Type | Method and Description |
---|---|
protected void |
MAMQueryParser.addField(Element x,
String var,
String type,
String label) |
Element |
QueryParser.prepareForm(Element elem) |
Element |
MAMQueryParser.prepareForm(Element elem) |
Modifier and Type | Method and Description |
---|---|
Element |
RSM.toElement() |
Modifier and Type | Method and Description |
---|---|
RSM |
RSM.fromElement(Element e) |
static RSM |
RSM.parseRootElement(Element e) |
static RSM |
RSM.parseRootElement(Element e,
int defaultMax) |
Copyright © 2004–2021 "Tigase, Inc.". All rights reserved.