testexecmgmt/ucc/Source/facontroller/CSFacontroller.h
changeset 0 3da2a79470a7
equal deleted inserted replaced
-1:000000000000 0:3da2a79470a7
       
     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 * This file was autogenerated by rpcgen, but should be modified by the developer.
       
    16 * Make sure you don't use the -component_mod flag in future or this file will be overwritten.
       
    17 * Mon Oct 06 12:02:04 2003
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 
       
    24 
       
    25 #ifndef __CSFACONTROLLER_H__
       
    26 #define __CSFACONTROLLER_H__
       
    27 
       
    28 
       
    29 /****************************************************************************************
       
    30  * 
       
    31  * System Includes
       
    32  * 
       
    33  ***************************************************************************************/
       
    34 #include <string>
       
    35 using namespace std;
       
    36 
       
    37 
       
    38 /****************************************************************************************
       
    39  * 
       
    40  * Local Includes
       
    41  * 
       
    42  ***************************************************************************************/
       
    43 #include "../include/standard_unix.h"
       
    44 #include "../DynamicsConfigurationLibrary/CDynamicsConfigFile.h"
       
    45 #include "../ProcessLibrary/proclib.h"
       
    46 #include "../AliasLibrary/CInterfaceAlias.h"
       
    47 #include "../DynamicsCommandWrapper/CDynamicsCommand.h"
       
    48 #include "facontroller.h"
       
    49 
       
    50 
       
    51 /****************************************************************************************
       
    52  * 
       
    53  * Definition: CSFacontroller
       
    54  * 
       
    55  ***************************************************************************************/
       
    56 class CSFacontroller
       
    57 {
       
    58 public:
       
    59 	// Standard Methods
       
    60 	CSFacontroller();
       
    61 	~CSFacontroller();
       
    62 	int GetKey();
       
    63 	void SetKey( int aKey );
       
    64 
       
    65 	// RPC Service Methods
       
    66 	TResult cstr_createagent( void );
       
    67 	int dstr_removeagent( int aArgs, int *aDeleteInstance );
       
    68 	TResult startmobileagent( TStartAgentRequest aArgs );
       
    69 	TResult stopmobileagent( int aArgs );
       
    70 	TResult getmobileagentstatus( int aArgs );
       
    71 	TResult setsingleoption( TOptionDesc aArgs );
       
    72 	TResult removesingleoption( TOptionDesc aArgs );
       
    73 	TResult addlistoption( TOptionDesc aArgs );
       
    74 	TResult removelistoption( TOptionDesc aArgs );
       
    75 	TFaStatusInfo getstatus( int aArgs );
       
    76 	TResult destroytunnelid( TFaTunnelID aArgs );
       
    77 	TFaTunnelList listtunnels( int aArgs );
       
    78 	TFaTunnelInfo gettunnelinfo( TGetTunnelRequest aArgs );
       
    79 	void settimeout( TTimeoutRequest aArgs );
       
    80 
       
    81 private:
       
    82 	TResult is_agent_running();
       
    83 	void set_dynamics_error( TResult *result, TDynamicsCallInfo *cres );
       
    84 
       
    85 	int iKey;
       
    86 	int iDynamicsCallTimeout;
       
    87 	int iInterfaceIndex;
       
    88 	int iInterfaceHostAddress;
       
    89 	CDynamicsConfigFile iDynamicsConfigFile;
       
    90 	CAProcess *iAgentProcess;
       
    91 	CInterfaceAlias iAgentInterface;
       
    92 	string iLowerInterface;
       
    93 	CDynamicsCommand iDynamicsCommand;
       
    94 };
       
    95 
       
    96 #endif