realtimenetprots/sipfw/SIP/ServerResolver/src/MSIPQueryData.h
changeset 0 307788aac0a8
equal deleted inserted replaced
-1:000000000000 0:307788aac0a8
       
     1 /*
       
     2 * Copyright (c) 2004-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          : MSIPQueryData.h
       
    16 * Part of       : ServerResolver
       
    17 * Version       : SIP/4.0 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 /**
       
    25  @internalComponent
       
    26 */
       
    27 
       
    28 #ifndef MSIPQUERYDATA_H
       
    29 #define MSIPQUERYDATA_H
       
    30 
       
    31 #include <e32std.h>
       
    32 #include <in_sock.h>
       
    33 
       
    34 class MSIPQueryData
       
    35 	{
       
    36 public:
       
    37 
       
    38     /**
       
    39      * Destructor.
       
    40 	 */
       
    41     virtual ~MSIPQueryData () {}
       
    42 
       
    43     /**
       
    44      * Gets the resolved address.
       
    45      *
       
    46      * @returns the resolved address
       
    47      */
       
    48 	virtual TInetAddr& Address() = 0;
       
    49 
       
    50     /**
       
    51      * Gets the resolved protocol.
       
    52      *
       
    53      * @returns the resolved protocol
       
    54      */
       
    55 	virtual TUint Protocol() = 0;
       
    56 	};
       
    57 
       
    58 #endif // MSIPQUERYDATA_H