realtimenetprots/sipfw/ProfileAgent/ProxyResolver/inc/MSIPProxyResolverObserver.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 * Name          : MSIPProxyResolverObserver.h
       
    16 * Part of       : ProxyResolver
       
    17 * Version       : SIP/4.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef MSIPPROXYRESOLVER_H
       
    29 #define MSIPPROXYRESOLVER_H
       
    30 
       
    31 // INCLUDES
       
    32 #include <e32base.h>
       
    33 #include <bamdesca.h>
       
    34 
       
    35 class MSIPProxyResolverObserver
       
    36     {
       
    37 public:
       
    38 
       
    39     virtual ~MSIPProxyResolverObserver() {}
       
    40 
       
    41     /**
       
    42      * An asynchronous proxy resolving request has been completed.
       
    43      *
       
    44      * @param aRequestId the id of the resolving request.
       
    45      * @param aProxies a list of proxy addresses.
       
    46      *        The ownership is transferred.
       
    47      */
       
    48     virtual void ProxyResolvingRequestComplete( TUint aRequestId,
       
    49                                                 MDesC8Array* aProxies ) = 0;
       
    50 
       
    51     /**
       
    52      * An asynchronous proxy resolving request has failed.
       
    53      *
       
    54      * @param aRequestId the id of the resolving request.
       
    55      * @param aError a reason why the request failed.
       
    56      */
       
    57     virtual void ProxyResolvingRequestFailed( TUint aRequestId,
       
    58                                               TInt aError) = 0;
       
    59     };
       
    60 
       
    61 #endif // MSIPPROXYRESOLVER_H