|
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.service.protocol.AccountID
net.java.sip.communicator.impl.protocol.sip.SipAccountID
public class SipAccountID
A SIP extension of the account ID property.
| Field Summary |
|---|
| Fields inherited from class net.java.sip.communicator.service.protocol.AccountID |
|---|
accountProperties |
| Constructor Summary | |
|---|---|
protected |
SipAccountID(String userID,
Map<String,String> accountProperties,
String serverName)
Creates a SIP account id from the specified ide and account properties. |
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this account id. |
String |
getAccountAddress()
Returns a string that could be directly used (or easily converted to) an address that other users of the procotol can use to communicate with us. |
String |
getAccountPropertyString(Object key)
Returns the account property string corresponding to the given key. |
String |
getDisplayName()
The reason we need to override this method here comes from the fact that the user id that is standardly returned by the parent method is not sufficient for the user to distinguish this account from other sip accounts with the same user name. |
| Methods inherited from class net.java.sip.communicator.service.protocol.AccountID |
|---|
getAccountProperties, getAccountProperty, getAccountPropertyBoolean, getAccountPropertyInt, getAccountUniqueID, getProtocolDisplayName, getProtocolName, getService, getUserID, hashCode, isEnabled, putAccountProperty, removeAccountProperty, setAccountProperties, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected SipAccountID(String userID,
Map<String,String> accountProperties,
String serverName)
userID - the user id part of the SIP uri identifying this contact.accountProperties - any other properties necessary for the account.serverName - the name of the server that the user belongs to.| Method Detail |
|---|
public String getAccountAddress()
getAccountAddress in class AccountIDpublic String getDisplayName()
getDisplayName in class AccountIDpublic boolean equals(Object obj)
equals in class AccountIDobj - the reference object with which to compare.
AccountID.hashCode(),
Hashtablepublic String getAccountPropertyString(Object key)
getAccountPropertyString in class AccountIDkey - the key, corresponding to the property string we're looking
for
|
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 | |||||||||