public class IrcAccountID extends AccountID
accountProperties, DEFAULTS_PREFIX
Constructor and Description |
---|
IrcAccountID(java.lang.String userID,
java.lang.String host,
java.lang.String port,
java.util.Map<java.lang.String,java.lang.String> accountProperties)
Creates an account id from the specified id and account properties.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Equality extended with checking IRC server host and port, since different
IRC networks can have users with similar names.
|
java.lang.String |
getDisplayName()
Get display name for this account instance.
|
java.lang.String |
getHost()
Get the IRC server host.
|
int |
getPort()
Get the IRC server port.
|
int |
hashCode()
Returns a hash code value for the object.
|
getAccountAddress, getAccountIconPath, getAccountProperties, getAccountPropertyBoolean, getAccountPropertyInt, getAccountPropertyString, getAccountPropertyString, getAccountUniqueID, getAuthorizationName, getBooleanPropertiesByPrefix, getDefaultStr, getDefaultString, getDTMFMethod, getDtmfMinimalToneDuration, getIntegerPropertiesByPrefix, getPassword, getPropertyNamesByPrefix, getProtocolDisplayName, getProtocolIconPath, getProtocolName, getServerAddress, getServerPort, getService, getSortedEnabledEncryptionProtocolList, getStunServers, getSystemProtocolName, getTlsClientCertificate, getUserID, isConfigHidden, isEnabled, isEncryptionProtocolEnabled, isHidden, isPreferredProvider, isReadOnly, isServerOverridden, isStatusMenuHidden, isStunServerDiscoveryEnabled, isUPNPEnabled, isUseDefaultStunServer, loadStunPassword, mergeProperties, putAccountProperty, putAccountProperty, removeAccountProperty, setAccountIconPath, setAccountProperties, setAuthorizationName, setDisplayName, setDTMFMethod, setDtmfMinimalToneDuration, setOrRemoveIfEmpty, setOrRemoveIfEmpty, setOrRemoveIfNull, setPassword, setProtocolIconPath, setServerAddress, setServerOverridden, setServerPort, setTlsClientCertificate, storeProperties, toString
IrcAccountID(java.lang.String userID, java.lang.String host, java.lang.String port, java.util.Map<java.lang.String,java.lang.String> accountProperties)
userID
- the user identifier corresponding to this accounthost
- IRC server hostport
- IRC server portaccountProperties
- any other properties necessary for the account.public int hashCode()
public boolean equals(java.lang.Object obj)
equals
in class AccountID
obj
- other objectAccountID.hashCode()
,
Hashtable
public java.lang.String getHost()
public int getPort()
public java.lang.String getDisplayName()
getDisplayName
in class AccountID
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.