cryptomgmtlibs/securitycommonutils/inc/scsserverconstants.h
changeset 8 35751d3474b7
equal deleted inserted replaced
2:675a964f4eb5 8:35751d3474b7
       
     1 /*
       
     2 * Copyright (c) 2007-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 the License "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:  scsserverconstants.h
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 /**
       
    20  @file
       
    21  @internalTechnology
       
    22  @released
       
    23 */
       
    24 
       
    25 #ifndef SCSSERVERCONSTANTS_H
       
    26 #define SCSSERVERCONSTANTS_H
       
    27 
       
    28 // -------- debugging --------
       
    29 
       
    30 /**
       
    31 	The server is panicked with this category when it detects an invalid state.
       
    32 	
       
    33 	@see TServerPanic
       
    34 	/**
       
    35  */
       
    36 _LIT(KServerPanicCat, "SCS-Server");
       
    37 
       
    38 
       
    39 enum TServerPanic
       
    40 /**
       
    41 	The server is panicked with these reasons when it detects an invalid state.
       
    42 	
       
    43 	@see TScsServerPanicCat
       
    44  */
       
    45 	{
       
    46 	ESvrRemSessions = 0,			///< Server object destroyed with outstanding sessions.
       
    47 	ESvrRemCleanup = 1,				///< Server object destroyed with outstanding cleanup.
       
    48 	ESvrRemRequests = 2				///< Server object destroyed with outstanding requests.
       
    49 	};
       
    50 
       
    51 
       
    52 void PanicServer(TServerPanic aPanic);
       
    53 
       
    54 void PanicClient(const RMessagePtr2& aMessage, ScsImpl::TScsClientPanic aReason);
       
    55 
       
    56 #endif // SCSSERVERCONSTANTS_H