public class InBandRegistrationModule extends AbstractIQModule
| Modifier and Type | Class and Description |
|---|---|
static class |
InBandRegistrationModule.RegistrationEvent |
| Modifier and Type | Field and Description |
|---|---|
static String |
IN_BAND_REGISTRATION_MODE_KEY |
static EventType |
NotSupportedError |
static EventType |
ReceivedError |
static EventType |
ReceivedRequestedFields |
static EventType |
ReceivedTimeout |
log, observable, sessionObject, writer| Constructor and Description |
|---|
InBandRegistrationModule(SessionObject sessionObject,
PacketWriter packetWriter) |
| Modifier and Type | Method and Description |
|---|---|
Criteria |
getCriteria()
Criteria
|
String[] |
getFeatures()
Returns features what are implemented by Module.
|
static boolean |
isRegistrationAvailable(SessionObject sessionObject) |
protected void |
processGet(IQ element)
Method for processing stanza
<iq type='get'>. |
protected void |
processSet(IQ element)
Method for processing stanza
<iq type='set'>. |
void |
register(String username,
String password,
String email,
AsyncCallback asyncCallback) |
void |
removeAccount(AsyncCallback asyncCallback) |
void |
start() |
addListener, addListener, process, removeAllListeners, removeListener, removeListener, setObservablepublic static final String IN_BAND_REGISTRATION_MODE_KEY
public static final EventType NotSupportedError
public static final EventType ReceivedError
public static final EventType ReceivedRequestedFields
public static final EventType ReceivedTimeout
public InBandRegistrationModule(SessionObject sessionObject, PacketWriter packetWriter)
public static boolean isRegistrationAvailable(SessionObject sessionObject) throws JaxmppException
JaxmppExceptionpublic 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(String username, String password, String email, AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionpublic void removeAccount(AsyncCallback asyncCallback) throws JaxmppException
JaxmppExceptionpublic void start()
throws JaxmppException
JaxmppExceptionCopyright © 2006–2014 Tigase. All rights reserved.