tigase.jaxmpp.core.client.xmpp.modules.vcard
Class VCardModule

java.lang.Object
  extended by tigase.jaxmpp.core.client.xmpp.modules.AbstractStanzaModule<Stanza>
      extended by tigase.jaxmpp.core.client.xmpp.modules.vcard.VCardModule
All Implemented Interfaces:
XmppModule

public class VCardModule
extends AbstractStanzaModule<Stanza>


Nested Class Summary
static class VCardModule.VCardAsyncCallback
           
 
Field Summary
 
Fields inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractStanzaModule
log, observable, sessionObject, writer
 
Constructor Summary
VCardModule(Observable parentObservable, SessionObject sessionObject, PacketWriter packetWriter)
           
 
Method Summary
 Criteria getCriteria()
          Criteria
 String[] getFeatures()
           Returns features what are implemented by Module.
 void process(Stanza element)
           
 void retrieveVCard(JID jid, AsyncCallback asyncCallback)
           
 void retrieveVCard(JID jid, Long timeout, AsyncCallback asyncCallback)
           
 void retrieveVCard(JID jid, VCardModule.VCardAsyncCallback asyncCallback)
           
 
Methods inherited from class tigase.jaxmpp.core.client.xmpp.modules.AbstractStanzaModule
addListener, addListener, process, removeAllListeners, removeListener, removeListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VCardModule

public VCardModule(Observable parentObservable,
                   SessionObject sessionObject,
                   PacketWriter packetWriter)
Method Detail

getCriteria

public Criteria getCriteria()
Description copied from interface: XmppModule
Criteria

Returns:

getFeatures

public String[] getFeatures()
Description copied from interface: XmppModule

Returns features what are implemented by Module.

See Service Discovery Features

Returns:
array of features

process

public void process(Stanza element)
             throws JaxmppException
Specified by:
process in class AbstractStanzaModule<Stanza>
Throws:
JaxmppException

retrieveVCard

public void retrieveVCard(JID jid,
                          AsyncCallback asyncCallback)
                   throws JaxmppException
Throws:
JaxmppException

retrieveVCard

public void retrieveVCard(JID jid,
                          Long timeout,
                          AsyncCallback asyncCallback)
                   throws JaxmppException
Throws:
JaxmppException

retrieveVCard

public void retrieveVCard(JID jid,
                          VCardModule.VCardAsyncCallback asyncCallback)
                   throws JaxmppException
Throws:
JaxmppException


Copyright © 2006-2012 Tigase. All Rights Reserved.