|
IP*Works! V9 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectipworks.XMPPUserInfo
public class XMPPUserInfo
A named registration field.
This type describes the user information that must be sent to the server during registration.
Field: This is the name of the current field necessary for registration.
Before a registration can be attempted, the application should use
the QueryRegister
method to poll the host to which the user wishes
to register. This will gather all of the necessary fields that the user
must send to the server, and will populate the UserInfo
collection
accordingly. After a successful query, all
entries in UserInfo
values will be empty strings.
The possible registration fields are defined in the Jabber protocol specification as follows:
After the user has set all of the values in UserInfo
, and
added any extra fields they may wish to include in their registration,
the application should make a call to Register
.
If the bean is not already connected when this method is called, it will connect, poll the registration fields, and then disconnect.
Value:
This is the value for the current registration field, and should be set after calling QueryRegister
and before calling Register
.
Before a registration can be attempted, the application should use
the QueryRegister
method to poll the host to which the user wishes
to register. This will gather all of the necessary fields that the user
must send to the server, and will populate the UserInfo
collection
accordingly. After a successful query, all
entries in UserInfo
values will be empty strings.
The possible registration fields are defined in the Jabber protocol specification as follows:
After the user has set all of the values in UserInfo
, and
added any extra fields they may wish to include in their registration,
the application should make a call to Register
.
If the bean is not already connected when this method is called, it will connect, poll the registration fields, and then disconnect.
Atom
,
Atom.XMPPUserInfo
Constructor Summary | |
---|---|
XMPPUserInfo()
|
|
XMPPUserInfo(java.lang.String field,
java.lang.String value)
|
Method Summary | |
---|---|
java.lang.String |
getField()
|
java.lang.String |
getValue()
|
void |
setField(java.lang.String value)
|
void |
setValue(java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XMPPUserInfo()
public XMPPUserInfo(java.lang.String field, java.lang.String value)
Method Detail |
---|
public java.lang.String getField()
public void setField(java.lang.String value)
public java.lang.String getValue()
public void setValue(java.lang.String value)
|
IP*Works! V9 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |