mmsharing/mmshavailability/tsrc/ut_availability/Stubs/inc/csipserverstub.h
changeset 22 496ad160a278
parent 0 f0cf47e981f9
equal deleted inserted replaced
15:ccd8e69b5392 22:496ad160a278
       
     1 /*
       
     2 * Copyright (c) 2005-2007 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:  SIP Server Stub
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef CSIPSERVERSTUB_H
       
    20 #define CSIPSERVERSTUB_H
       
    21 
       
    22 #include <e32base.h>    // CBase
       
    23 #include <stringpool.h>
       
    24 
       
    25 class CSIPRequestElements;
       
    26 class CSIPResponseElements;
       
    27 
       
    28 
       
    29 class CSIPServerStub : public CBase
       
    30 
       
    31     {
       
    32 public:
       
    33     
       
    34     static void OpenL();
       
    35     static void Close();
       
    36     static CSIPServerStub* Server();
       
    37     
       
    38     ~CSIPServerStub();
       
    39     
       
    40     void Reset();
       
    41     
       
    42     void ClientRequest( CSIPRequestElements* aRequest );
       
    43     void ClientResponse( RStringF aMethod, CSIPResponseElements* aResponse );
       
    44 	
       
    45 public: //data
       
    46 
       
    47 
       
    48     CSIPRequestElements* iClientRequest;
       
    49     RStringF iResponseToRequest;
       
    50     CSIPResponseElements* iClientResponse;
       
    51 
       
    52 	
       
    53 	};
       
    54 
       
    55 
       
    56 #endif //CSIPSERVERSTUB_H