|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.plugin.jabberaccregwizz.JabberAccountRegistration
public class JabberAccountRegistration
The JabberAccountRegistration is used to store all user input data through the JabberAccountRegistrationWizard.
| Field Summary | |
|---|---|
static String |
DEFAULT_PORT
The default value of server port for jabber accounts. |
static String |
DEFAULT_PRIORITY
The default value of the priority property. |
static String |
DEFAULT_RESOURCE
The default value of the resource property. |
static boolean |
DEFAULT_RESOURCE_AUTOGEN
Default value for resource auto generating. |
static String |
DEFAULT_STUN_PORT
The default value of stun server port for jabber accounts. |
| Constructor Summary | |
|---|---|
JabberAccountRegistration()
|
|
| Method Summary | |
|---|---|
void |
addJingleNodes(JingleNodeDescriptor node)
Adds the given node to the list of additional JingleNodes. |
void |
addStunServer(StunServerDescriptor stunServer)
Adds the given stunServer to the list of additional stun servers. |
String |
getAccountDisplayName()
Returns the account display name. |
List<JingleNodeDescriptor> |
getAdditionalJingleNodes()
Returns the List of all additional stun servers entered by the user. |
List<StunServerDescriptor> |
getAdditionalStunServers()
Returns the List of all additional stun servers entered by the user. |
boolean |
getBypassGtalkCaps()
Returns the alwaysCallWithGtalk value. |
String |
getDefaultDTMFMethod()
|
String |
getDefaultUserSufix()
Returns the user sufix. |
String |
getDTMFMethod()
Returns the DTMF method. |
String |
getOverridePhoneSuffix()
Returns the override phone suffix. |
String |
getPassword()
Returns the password of the jabber registration account. |
int |
getPort()
The port on the specified server |
int |
getPriority()
Returns the priority property. |
String |
getResource()
Returns the resource. |
String |
getServerAddress()
The address of the server we will use for this account |
String |
getSmsServerAddress()
Returns the default sms server. |
String |
getTelephonyDomainBypassCaps()
Returns telephony domain that bypass GTalk caps. |
String |
getUserID()
Returns the User ID of the jabber registration account. |
boolean |
isAllowNonSecure()
Indicates if non-TLS is allowed for this account |
boolean |
isAutoDiscoverJingleNodes()
Indicates if the JingleNodes relay server should be automatically discovered. |
boolean |
isAutoDiscoverStun()
Indicates if the stun server should be automatically discovered. |
boolean |
isGmailNotificationEnabled()
Determines whether SIP Communicator should be querying Gmail servers for unread mail messages. |
boolean |
isGoogleContactsEnabled()
Determines whether SIP Communicator should use Google Contacts as ContactSource |
boolean |
isRememberPassword()
Returns TRUE if password has to remembered, FALSE otherwise. |
boolean |
isResourceAutogenerated()
Is resource auto generate enabled. |
boolean |
isSendKeepAlive()
Determines whether sending of keep alive packets is enabled. |
boolean |
isServerOverridden()
Indicates if the server address has been overridden. |
boolean |
isUseDefaultStunServer()
Indicates if the stun server should be automatically discovered. |
boolean |
isUseGoogleIce()
Indicates if ice should be used for this account. |
boolean |
isUseIce()
Indicates if ice should be used for this account. |
boolean |
isUseJingleNodes()
Indicates if JingleNodes relay should be used. |
void |
isUseJingleNodes(boolean isUseJingleNodes)
Sets the useJingleNodes property. |
boolean |
isUseUPNP()
Indicates if UPnP should be used for this account. |
void |
setAccountDisplayName(String accountDisplayName)
Sets the account display name. |
void |
setAllowNonSecure(boolean isAllowNonSecure)
Sets the isAllowNonSecure property. |
void |
setAutoDiscoverJingleNodes(boolean isAutoDiscover)
Sets the autoDiscoverJingleNodes property. |
void |
setAutoDiscoverStun(boolean isAutoDiscover)
Sets the autoDiscoverStun property. |
void |
setBypassGtalkCaps(boolean bypassGtalkCaps)
Sets value for alwaysCallWithGtalk. |
void |
setDefaultDTMFMethod(String defaultDTMFMethod)
|
void |
setDefaultUserSufix(String userSufix)
Sets the default value of the user sufix. |
void |
setDTMFMethod(String dtmfMethod)
Sets the DTMF method. |
void |
setGmailNotificationEnabled(boolean enabled)
Specifies whether SIP Communicator should be querying Gmail servers for unread mail messages. |
void |
setGoogleContactsEnabled(boolean enabled)
Specifies whether SIP Communicator should use Google Contacts as ContactSource. |
void |
setOverridePhoneSufix(String phoneSuffix)
Sets the override value of the phone suffix. |
void |
setPassword(String password)
Sets the password of the jabber registration account. |
void |
setPort(int port)
Sets the server port number. |
void |
setPriority(int priority)
Sets the priority property. |
void |
setRememberPassword(boolean rememberPassword)
Sets the rememberPassword value of this jabber account registration. |
void |
setResource(String resource)
Sets the resource. |
void |
setResourceAutogenerated(boolean resourceAutogenerated)
Set whether resource autogenerate is enabled. |
void |
setSendKeepAlive(boolean sendKeepAlive)
Specifies whether SIP Communicator should send send keep alive packets to keep this account registered. |
void |
setServerAddress(String serverAddress)
Sets the server |
void |
setServerOverridden(boolean isServerOverridden)
Sets isServerOverridden property. |
void |
setSmsServerAddress(String serverAddress)
Sets the default sms server. |
void |
setTelephonyDomainBypassCaps(String text)
Sets telephony domain that bypass GTalk caps. |
void |
setUseDefaultStunServer(boolean isUseDefaultStunServer)
Sets the useDefaultStunServer property. |
void |
setUseGoogleIce(boolean isUseIce)
Sets the useGoogleIce property. |
void |
setUseIce(boolean isUseIce)
Sets the useIce property. |
void |
setUseJingleNodes(boolean isUseJingleNodes)
Sets the useJingleNodes property. |
void |
setUserID(String userID)
Sets the User ID of the jabber registration account. |
void |
setUseUPNP(boolean isUseUPNP)
Sets the useUPNP property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DEFAULT_PORT
public static final String DEFAULT_PRIORITY
public static final String DEFAULT_RESOURCE
public static final String DEFAULT_STUN_PORT
public static final boolean DEFAULT_RESOURCE_AUTOGEN
| Constructor Detail |
|---|
public JabberAccountRegistration()
| Method Detail |
|---|
public String getPassword()
public void setPassword(String password)
password - the password of the jabber registration account.public boolean isRememberPassword()
public void setRememberPassword(boolean rememberPassword)
rememberPassword - TRUE if password has to remembered, FALSE
otherwisepublic String getUserID()
public String getDefaultUserSufix()
public String getOverridePhoneSuffix()
public boolean getBypassGtalkCaps()
public String getTelephonyDomainBypassCaps()
public String getServerAddress()
public int getPort()
public boolean isSendKeepAlive()
public boolean isGmailNotificationEnabled()
public boolean isGoogleContactsEnabled()
public void setUserID(String userID)
userID - the identifier of the jabber registration account.public void setDefaultUserSufix(String userSufix)
userSufix - the user name sufix (the domain name after the @ sign)public void setOverridePhoneSufix(String phoneSuffix)
phoneSuffix - the phone name suffix (the domain name after the @
sign)public void setBypassGtalkCaps(boolean bypassGtalkCaps)
bypassGtalkCaps - true to enable, false otherwisepublic void setTelephonyDomainBypassCaps(String text)
text - telephony domain to setpublic void setServerAddress(String serverAddress)
serverAddress - the IP address or FQDN of the server.public boolean isServerOverridden()
public void setServerOverridden(boolean isServerOverridden)
isServerOverridden - indicates if the server is overriddenpublic void setPort(int port)
port - the server port numberpublic void setSendKeepAlive(boolean sendKeepAlive)
sendKeepAlive - true if we are to send keep alive packets
and false otherwise.public void setGmailNotificationEnabled(boolean enabled)
enabled - true if we are to enable Gmail notification and
false otherwise.public void setGoogleContactsEnabled(boolean enabled)
enabled - true if we are to enable Google Contacts and
false otherwise.public String getResource()
public void setResource(String resource)
resource - the resource for the jabber accountpublic int getPriority()
public void setPriority(int priority)
priority - the priority to setpublic boolean isUseIce()
public void setUseIce(boolean isUseIce)
isUseIce - true to indicate that ICE should be used for
this account, false - otherwise.public boolean isUseGoogleIce()
public void setUseGoogleIce(boolean isUseIce)
isUseIce - true to indicate that ICE should be used for
this account, false - otherwise.public boolean isAutoDiscoverStun()
public void setAutoDiscoverStun(boolean isAutoDiscover)
isAutoDiscover - true to indicate that stun server should
be auto-discovered, false - otherwise.public boolean isUseDefaultStunServer()
public void setUseDefaultStunServer(boolean isUseDefaultStunServer)
isUseDefaultStunServer - true to indicate that default
stun server should be used if no others are available, false
otherwise.public void addStunServer(StunServerDescriptor stunServer)
stunServer - the StunServer to addpublic List<StunServerDescriptor> getAdditionalStunServers()
public void setAutoDiscoverJingleNodes(boolean isAutoDiscover)
isAutoDiscover - true to indicate that relay server should
be auto-discovered, false - otherwise.public boolean isAutoDiscoverJingleNodes()
public void setUseJingleNodes(boolean isUseJingleNodes)
isUseJingleNodes - true to indicate that Jingle Nodes
should be used for this account, false - otherwise.public void isUseJingleNodes(boolean isUseJingleNodes)
isUseJingleNodes - true to indicate that JingleNodes relays
should be used for this account, false - otherwise.public boolean isUseJingleNodes()
public void addJingleNodes(JingleNodeDescriptor node)
node - the node to addpublic List<JingleNodeDescriptor> getAdditionalJingleNodes()
public boolean isUseUPNP()
public void setUseUPNP(boolean isUseUPNP)
isUseUPNP - true to indicate that UPnP should be used for
this account, false - otherwise.public boolean isAllowNonSecure()
public void setAllowNonSecure(boolean isAllowNonSecure)
isAllowNonSecure - true to indicate that non-TLS is allowed
for this account, false - otherwise.public boolean isResourceAutogenerated()
public void setResourceAutogenerated(boolean resourceAutogenerated)
resourceAutogenerated - public String getAccountDisplayName()
public void setAccountDisplayName(String accountDisplayName)
accountDisplayName - the account display namepublic String getSmsServerAddress()
public void setSmsServerAddress(String serverAddress)
serverAddress - the sms server to set as defaultpublic String getDTMFMethod()
public void setDTMFMethod(String dtmfMethod)
dtmfMethod - the DTMF method to setpublic String getDefaultDTMFMethod()
public void setDefaultDTMFMethod(String defaultDTMFMethod)
defaultDTMFMethod - the defaultDTMFMethod to set
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||