public abstract class VCardXMPPProcessorAbstract extends XMPPProcessorAbstract
ALL_NAMES, ALL_PATHS, cmpInfo
CLIENT_XMLNS
Constructor and Description |
---|
VCardXMPPProcessorAbstract() |
Modifier and Type | Method and Description |
---|---|
static Element |
convertVCard4ToVCardTemp(Element vcard4) |
static Element |
convertVCardTempToVCard4(Element vcardTemp) |
protected abstract String |
getVCardXMLNS() |
void |
init(Map<String,Object> settings)
Method
init is called just after the plugin has been loaded
into memory. |
protected void |
setVCard(XMPPResourceConnection session,
Element vcard) |
protected abstract void |
storeVCard(XMPPResourceConnection session,
Element vcard) |
process, processFromUserOutPacket, processFromUserPacket, processFromUserToServerPacket, processNullSessionPacket, processServerSessionPacket, processToUserPacket
id, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes
canHandle, compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, isSupporting, supElements, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
canHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, id, isSupporting, supDiscoFeatures, supElementNamePaths, supElements, supNamespaces, supStreamFeatures, supTypes
compareTo
public void init(Map<String,Object> settings) throws TigaseDBException
XMPPImplIfc
init
is called just after the plugin has been loaded
into memory. The idea behind this is to allow it to initialize or check the
database. This might be especially useful for plugins which want to have a
database access via non-standard stored procedures or need schema upgrade.init
in interface XMPPImplIfc
init
in class XMPPProcessor
settings
- is a Map with initial processor settings from the configuration
file.TigaseDBException
protected abstract String getVCardXMLNS()
protected void setVCard(XMPPResourceConnection session, Element vcard) throws TigaseDBException, NotAuthorizedException
protected abstract void storeVCard(XMPPResourceConnection session, Element vcard) throws TigaseDBException, NotAuthorizedException
Copyright © 2022 "Tigase, Inc.". All rights reserved.