tigase.xmpp.impl

## Class VCard4

- java.lang.Object
- - tigase.xmpp.XMPPProcessor
  - - tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
    - - tigase.xmpp.XMPPProcessorAbstract
      - - tigase.xmpp.impl.VCardXMPPProcessorAbstract
        - - tigase.xmpp.impl.VCard4

- All Implemented Interfaces:
    Comparable<XMPPImplIfc>, XMPPImplIfc, XMPPProcessorIfc

      public class VCard4
      extends VCardXMPPProcessorAbstract

  Author:
    andrzej

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `REPO_NODE`
    `protected static String` | `VCARD_EL`
    `protected static String` | `XMLNS`

    - ### Fields inherited from class tigase.xmpp.XMPPProcessor

      `ALL_NAMES, ALL_PATHS, cmpInfo`

    - ### Fields inherited from interface tigase.xmpp.XMPPImplIfc

      `CLIENT_XMLNS`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `VCard4()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected String` | `getVCardXMLNS()`
    `void` | `processFromUserOutPacket(JID connectionId, Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)` Method description
    `void` | `processFromUserToServerPacket(JID connectionId, Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)` Method description
    `void` | `processNullSessionPacket(Packet packet, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)` Method description
    `void` | `processServerSessionPacket(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)` Method description
    `void` | `processToUserPacket(Packet packet, XMPPResourceConnection session, NonAuthUserRepository repo, Queue<Packet> results, Map<String,Object> settings)` Method description
    `protected void` | `storeVCard(XMPPResourceConnection session, Element elvCard)`

    - ### Methods inherited from class tigase.xmpp.impl.VCardXMPPProcessorAbstract

      `convertVCard4ToVCardTemp, convertVCardTempToVCard4, init, setVCard`

    - ### Methods inherited from class tigase.xmpp.XMPPProcessorAbstract

      `process, processFromUserPacket`

    - ### Methods inherited from class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor

      `id, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes`

    - ### Methods inherited from class tigase.xmpp.XMPPProcessor

      `canHandle, compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, isSupporting, supElements, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface tigase.xmpp.XMPPImplIfc

      `canHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, id, isSupporting, supDiscoFeatures, supElementNamePaths, supElements, supNamespaces, supStreamFeatures, supTypes`

    - ### Methods inherited from interface java.lang.Comparable

      `compareTo`

- - ### Field Detail

    - #### VCARD_EL

          protected static final String VCARD_EL

      See Also:
        Constant Field Values

    - #### XMLNS

          protected static final String XMLNS

      See Also:
        Constant Field Values

    - #### REPO_NODE

          public static final String REPO_NODE

      See Also:
        Constant Field Values

  - ### Constructor Detail

    - #### VCard4

          public VCard4()

  - ### Method Detail

    - #### processFromUserOutPacket

          public void processFromUserOutPacket(JID connectionId,
                                               Packet packet,
                                               XMPPResourceConnection session,
                                               NonAuthUserRepository repo,
                                               Queue<Packet> results,
                                               Map<String,Object> settings)
                                        throws PacketErrorTypeException

      Method description
      Overrides:
        `processFromUserOutPacket` in class `XMPPProcessorAbstract`
      Parameters:
        `connectionId` -
        `packet` -
        `session` -
        `repo` -
        `results` -
        `settings` -
      Throws:
        `PacketErrorTypeException`

    - #### processFromUserToServerPacket

          public void processFromUserToServerPacket(JID connectionId,
                                                    Packet packet,
                                                    XMPPResourceConnection session,
                                                    NonAuthUserRepository repo,
                                                    Queue<Packet> results,
                                                    Map<String,Object> settings)
                                             throws PacketErrorTypeException

      Method description
      Specified by:
        `processFromUserToServerPacket` in class `XMPPProcessorAbstract`
      Parameters:
        `connectionId` -
        `packet` -
        `session` -
        `repo` -
        `results` -
        `settings` -
      Throws:
        `PacketErrorTypeException`

    - #### processNullSessionPacket

          public void processNullSessionPacket(Packet packet,
                                               NonAuthUserRepository repo,
                                               Queue<Packet> results,
                                               Map<String,Object> settings)
                                        throws PacketErrorTypeException

      Method description
      Overrides:
        `processNullSessionPacket` in class `XMPPProcessorAbstract`
      Parameters:
        `packet` -
        `repo` -
        `results` -
        `settings` -
      Throws:
        `PacketErrorTypeException`

    - #### processServerSessionPacket

          public void processServerSessionPacket(Packet packet,
                                                 XMPPResourceConnection session,
                                                 NonAuthUserRepository repo,
                                                 Queue<Packet> results,
                                                 Map<String,Object> settings)

      Method description
      Specified by:
        `processServerSessionPacket` in class `XMPPProcessorAbstract`
      Parameters:
        `packet` -
        `session` -
        `repo` -
        `results` -
        `settings` -

    - #### processToUserPacket

          public void processToUserPacket(Packet packet,
                                          XMPPResourceConnection session,
                                          NonAuthUserRepository repo,
                                          Queue<Packet> results,
                                          Map<String,Object> settings)
                                   throws PacketErrorTypeException

      Method description
      Overrides:
        `processToUserPacket` in class `XMPPProcessorAbstract`
      Parameters:
        `packet` -
        `session` -
        `repo` -
        `results` -
        `settings` -
      Throws:
        `PacketErrorTypeException`

    - #### getVCardXMLNS

          protected String getVCardXMLNS()

      Specified by:
        `getVCardXMLNS` in class `VCardXMPPProcessorAbstract`

    - #### storeVCard

          protected void storeVCard(XMPPResourceConnection session,
                                    Element elvCard)
                             throws TigaseDBException,
                                    NotAuthorizedException

      Specified by:
        `storeVCard` in class `VCardXMPPProcessorAbstract`
      Throws:
        `TigaseDBException`
        `NotAuthorizedException`

Copyright © 2018 "Tigase, Inc.". All rights reserved.