|
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 * Wed Oct 01 09:46:52 2003 |
|
18 * |
|
19 */ |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 #ifndef __CSMNCONTROLLER_H__ |
|
25 #define __CSMNCONTROLLER_H__ |
|
26 |
|
27 |
|
28 /**************************************************************************************** |
|
29 * |
|
30 * Local Includes |
|
31 * |
|
32 ***************************************************************************************/ |
|
33 #include "mncontroller.h" |
|
34 #include "../DynamicsConfigurationLibrary/CDynamicsConfigFile.h" |
|
35 #include "../ProcessLibrary/proclib.h" |
|
36 #include "../DynamicsCommandWrapper/CDynamicsCommand.h" |
|
37 |
|
38 |
|
39 /**************************************************************************************** |
|
40 * |
|
41 * Definition: CSMncontroller |
|
42 * |
|
43 ***************************************************************************************/ |
|
44 class CSMncontroller |
|
45 { |
|
46 public: |
|
47 // Standard Methods |
|
48 CSMncontroller(); |
|
49 ~CSMncontroller(); |
|
50 int GetKey(); |
|
51 void SetKey( int aKey ); |
|
52 |
|
53 // RPC Service Methods |
|
54 TResult cstr_createagent( void ); |
|
55 int dstr_removeagent( int aArgs, int *aDeleteInstance ); |
|
56 TResult startmobileagent( int aArgs ); |
|
57 TResult stopmobileagent( int aArgs ); |
|
58 TResult getmobileagentstatus( int aArgs ); |
|
59 TResult setsingleoption( TOptionDesc aArgs ); |
|
60 TResult removesingleoption( TOptionDesc aArgs ); |
|
61 TResult addlistoption( TOptionDesc aArgs ); |
|
62 TResult removelistoption( TOptionDesc aArgs ); |
|
63 TResult sethomeaddress( THomeAddressDesc aArgs ); |
|
64 TResult getcareofaddress( int aArgs ); |
|
65 TMobileNodeStatus getstatus( int aArgs ); |
|
66 TResult connect( TTunnelingModeDesc aArgs ); |
|
67 TResult disconnect( int aArgs ); |
|
68 TResult confirm( int aArgs ); |
|
69 TResult rescaninterfaces( int aArgs ); |
|
70 TResult setfapolicy( TPolicyRequest aArgs ); |
|
71 TResult getfapolicy( int aArgs ); |
|
72 TForeignAgentList listforeignagents( int aArgs ); |
|
73 TForeignAgentInfo getforeignagentinfo( TForeignAgentInfoRequest aArgs ); |
|
74 void settimeout( TTimeoutRequest aArgs ); |
|
75 |
|
76 private: |
|
77 TResult SetInterfaceAddress( char *aInterfaceName, int aAddress ); |
|
78 struct in_addr GetNetworkAddressFromHostAddress( int aAddress, int aNetmask ); |
|
79 |
|
80 int iKey; |
|
81 int iDynamicsCallTimeout; |
|
82 CDynamicsConfigFile iDynamicsConfigFile; |
|
83 CAProcess *iAgentProcess; |
|
84 CDynamicsCommand iDynamicsCommand; |
|
85 }; |
|
86 |
|
87 #endif |