public class InBandRegistrationModule extends AbstractIQModule
| Modifier and Type | Class and Description |
|---|---|
static interface |
InBandRegistrationModule.NotSupportedErrorHandler |
static interface |
InBandRegistrationModule.ReceivedErrorHandler |
static interface |
InBandRegistrationModule.ReceivedRequestedFieldsHandler |
static interface |
InBandRegistrationModule.ReceivedTimeoutHandler |
| Modifier and Type | Field and Description |
|---|---|
static String |
BINDED_RESOURCE_JID
Duplicate of
ResourceBinderModule#BINDED_RESOURCE_JID to avoid dependency between
modules. |
static String |
IN_BAND_REGISTRATION_MODE_KEY |
context, log| Constructor and Description |
|---|
InBandRegistrationModule() |
processaddExtension, getExtensionChain, getFeaturesWithExtensions, removeExtension, write, write, writeafterRegister, beforeRegister, beforeUnregister, fireEvent, getFirstChild, process, setContextpublic static final String BINDED_RESOURCE_JID
ResourceBinderModule#BINDED_RESOURCE_JID to avoid dependency between
modules.public static final String IN_BAND_REGISTRATION_MODE_KEY
public static boolean isRegistrationAvailable(Context context) throws JaxmppException
JaxmppExceptionpublic static boolean isRegistrationAvailable(SessionObject sessionObject) throws JaxmppException
JaxmppExceptionpublic void addNotSupportedErrorHandler(InBandRegistrationModule.NotSupportedErrorHandler handler)
public void addReceivedErrorHandler(InBandRegistrationModule.ReceivedErrorHandler handler)
public void addReceivedRequestedFieldsHandler(InBandRegistrationModule.ReceivedRequestedFieldsHandler handler)
public void addReceivedTimeoutHandler(InBandRegistrationModule.ReceivedTimeoutHandler handler)
public Criteria getCriteria()
XmppModulepublic String[] getFeatures()
XmppModuleReturns features what are implemented by Module.
protected void processGet(IQ element) throws JaxmppException
AbstractIQModule<iq type='get'>.processGet in class AbstractIQModuleelement - incoming XMPP stanzaJaxmppExceptionprotected void processSet(IQ element) throws JaxmppException
AbstractIQModule<iq type='set'>.processSet in class AbstractIQModuleelement - incoming XMPP stanzaJaxmppExceptionpublic void register(UnifiedRegistrationForm form, AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionpublic void register(String username, String password, String email, AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionpublic void removeAccount(AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionpublic void removeNotSupportedErrorHandler(InBandRegistrationModule.NotSupportedErrorHandler handler)
public void removeReceivedErrorHandler(InBandRegistrationModule.ReceivedErrorHandler handler)
public void removeReceivedRequestedFieldsHandler(InBandRegistrationModule.ReceivedRequestedFieldsHandler handler)
public void removeReceivedTimeoutHandler(InBandRegistrationModule.ReceivedTimeoutHandler handler)
public void start()
throws JaxmppException
JaxmppExceptionCopyright © 2006–2018 Tigase. All rights reserved.