public class NewAccount
extends java.lang.Object
Constructor and Description |
---|
NewAccount(java.lang.String userName,
char[] password,
java.lang.String serverAddress,
java.lang.String proxyAddress)
Creates a new account by specifying the account user name and password.
|
Modifier and Type | Method and Description |
---|---|
char[] |
getPassword()
Returns the account password.
|
java.lang.String |
getProxyAddress()
Returns the proxy address.
|
java.lang.String |
getServerAddress()
Returns the server address.
|
java.lang.String |
getUserName()
Returns the account user name.
|
java.lang.String |
getXcapRoot()
Returns the xcapRoot.
|
void |
setPassword(char[] password)
Sets the account password.
|
void |
setProxyAddress(java.lang.String proxyAddress)
Sets the proxy address.
|
void |
setServerAddress(java.lang.String serverAddress)
Sets the server address.
|
void |
setUserName(java.lang.String userName)
Sets the account user name.
|
void |
setXcapRoot(java.lang.String xcapRoot)
Sets xcapRoot.
|
public NewAccount(java.lang.String userName, char[] password, java.lang.String serverAddress, java.lang.String proxyAddress)
userName
- the account user namepassword
- the account passwordserverAddress
- the server address to setproxyAddress
- the proxy address to setpublic void setUserName(java.lang.String userName)
userName
- the user name of the accountpublic java.lang.String getUserName()
public void setPassword(char[] password)
password
- the account passwordpublic char[] getPassword()
public void setServerAddress(java.lang.String serverAddress)
serverAddress
- the server address to setpublic java.lang.String getServerAddress()
public void setProxyAddress(java.lang.String proxyAddress)
proxyAddress
- the proxy address to setpublic java.lang.String getProxyAddress()
public java.lang.String getXcapRoot()
public void setXcapRoot(java.lang.String xcapRoot)
xcapRoot
- the xcapRoot to set
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.