aboutsummaryrefslogtreecommitdiffstats
path: root/src/net/java/sip/communicator/impl/protocol/yahoo/YahooAccountID.java
blob: afdbfe99f773e3db56493797e6f115eea1f36ec3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
 * 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.yahoo;

import java.util.*;

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

/**
 * The Yahoo implementation of a sip-communicator AccountID
 *
 * @author Damian Minkov
 */
public class YahooAccountID
    extends AccountID
{
    /**
     * Creates an account id from the specified id and account properties.
     * @param id the id identifying this account
     * @param accountProperties any other properties necessary for the account.
     */
    YahooAccountID(String id, Map<String, String> accountProperties )
    {
        super(YahooSession.getYahooUserID(id), 
              accountProperties, ProtocolNames.YAHOO, "yahoo.com");
    }
}