public class NewAccount
extends java.lang.Object
Constructor and Description |
---|
NewAccount(java.lang.String userName,
char[] password,
java.lang.String serverAddress,
java.lang.String port)
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 |
getServerAddress()
Returns the server address.
|
java.lang.String |
getServerPort()
Returns the port of the server.
|
java.lang.String |
getUserName()
Returns the account user name.
|
void |
setPassword(char[] password)
Sets the account password.
|
void |
setServerAddress(java.lang.String serverAddress)
Sets the server address.
|
void |
setUserName(java.lang.String userName)
Sets the account user name.
|
public NewAccount(java.lang.String userName, char[] password, java.lang.String serverAddress, java.lang.String port)
userName
- the account user namepassword
- the account passwordserverAddress
- the server address to setport
- the port to connect topublic 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 java.lang.String getServerPort()
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.