SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.protocol.zeroconf
Class ZeroconfAccountID

java.lang.Object
  extended by net.java.sip.communicator.service.protocol.AccountID
      extended by net.java.sip.communicator.impl.protocol.zeroconf.ZeroconfAccountID

public class ZeroconfAccountID
extends AccountID

The Zeroconf implementation of a sip-communicator AccountID

Author:
Christian Vincenot

Field Summary
 
Fields inherited from class net.java.sip.communicator.service.protocol.AccountID
accountProperties
 
Constructor Summary
ZeroconfAccountID(String userID, Map<String,String> accountProperties)
          Creates a zeroconf account id from the specified id and account properties.
 
Method Summary
 String getFirst()
          Returns a String representing the firstname of this user.
 String getLast()
          Returns a String representing the lastname of this user.
 String getMail()
          Returns a String representing the mail address of this user.
 boolean isRememberContacts()
          Returns a boolean indicating if we store the contacts we meet or not.
 
Methods inherited from class net.java.sip.communicator.service.protocol.AccountID
equals, getAccountAddress, getAccountProperties, getAccountProperty, getAccountPropertyBoolean, getAccountPropertyInt, getAccountPropertyString, getAccountUniqueID, getDisplayName, 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

ZeroconfAccountID

ZeroconfAccountID(String userID,
                  Map<String,String> accountProperties)
Creates a zeroconf account id from the specified id and account properties.

Parameters:
userID - id identifying this account
accountProperties - any other properties necessary for the account.
Method Detail

getFirst

public String getFirst()
Returns a String representing the firstname of this user.

Returns:
String representing the firstname of this user.

getLast

public String getLast()
Returns a String representing the lastname of this user.

Returns:
String representing the lastname of this user.

getMail

public String getMail()
Returns a String representing the mail address of this user.

Returns:
String representing the mail address of this user.

isRememberContacts

public boolean isRememberContacts()
Returns a boolean indicating if we store the contacts we meet or not.

Returns:
boolean indicating if we store the contacts we meet or not.

SIP Communicator: the OpenSource Java VoIP and Instant Messaging client.

SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.