/*
 * SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */
package net.java.sip.communicator.impl.protocol.sip;

import java.util.*;

import net.java.sip.communicator.service.protocol.*;

/**
 * A SIP extension of the account ID property.
 * @author Emil Ivov
 */
public class SipAccountID
    extends AccountID
{

    /**
     * Creates a SIP account id from the specified ide and account properties.
     *
     * @param userID the user id part of the SIP uri identifying this contact.
     * @param accountProperties any other properties necessary for the account.
     */
    protected SipAccountID(String userID,
                           Map    accountProperties,
                           String serviceName)
    {
        super(userID, accountProperties, ProtocolNames.SIP, serviceName);
    }
}

@@ -661,16 +661,89 @@
 ccount.%0A
+     * @param sererName the name of the server that the user belongs to.%0A
      */%0A
@@ -871,27 +871,26 @@
  String serv
-ic
 e
+r
 Name)%0A    %7B%0A
@@ -957,15 +957,649 @@
 serv
-iceName
+erName);%0A    %7D%0A%0A    /**%0A     * Returns a string that could be directly used (or easily converted to) an%0A     * address that other users of the procotol can use to communicate with us.%0A     * By default this string is set to userid@servicename. Protocol%0A     * implementors should override it if they'd need it to respect a different%0A     * syntax.%0A     *%0A     * @return a String in the form of userid@service that other protocol users%0A     * should be able to parse into a meaningful address and use it to%0A     * communicate with us.%0A     */%0A    public String getAccountAddress()%0A    %7B%0A        return %22sip:%22 + getUserID() + %22@%22 + getService(
 );%0A 
@@ -1603,10 +1603,11 @@
 ;%0A    %7D%0A
+%0A
 %7D%0A

Support for SIP (Work in Progress)