linklayerprotocols/tundriver/te_tundriver/Dummy3rdPartyApp/inc/Dummy3rdPartyApp.h
branchRCL_3
changeset 23 425d8f4f7fa5
equal deleted inserted replaced
22:8d540f55e491 23:425d8f4f7fa5
       
     1 /*
       
     2  ============================================================================
       
     3  Name		 : Dummy3rdPartyApp.h
       
     4  Author	     : Gurpreet Singh Nagi
       
     5  Copyright   : Your copyright notice
       
     6  Description : Exe header file
       
     7  ============================================================================
       
     8  */
       
     9 
       
    10 #ifndef __DUMMY3RDPARTYAPP_H__
       
    11 #define __DUMMY3RDPARTYAPP_H__
       
    12 
       
    13 //  Include Files
       
    14 
       
    15 #include <e32base.h>
       
    16 #include <es_sock.h>
       
    17 #include <commdbconnpref.h>
       
    18 #include <in_sock.h>
       
    19 
       
    20 //  Function Prototypes
       
    21 
       
    22 GLDEF_C TInt E32Main();
       
    23 
       
    24 //functions:
       
    25 
       
    26 class Dummy3rdPartyApp
       
    27     {
       
    28 public:
       
    29     Dummy3rdPartyApp::Dummy3rdPartyApp()
       
    30         {
       
    31 
       
    32         }
       
    33 
       
    34     Dummy3rdPartyApp::~Dummy3rdPartyApp()
       
    35         {
       
    36 
       
    37         }
       
    38     void InitConn();
       
    39     void StartConn();
       
    40     void ProcessData();
       
    41     void CloseConn();
       
    42 
       
    43     TRequestStatus iStatus;
       
    44     TInetAddr iVirtAddr, iRealAddr;
       
    45     RSocketServ iVirtSocketServ, iRealSocketServ, iHookSocketServ;
       
    46     RSocket iVirtSocket, iRealSocket, iHookSocket;
       
    47     RConnection iVirtConnection, iRealConnection;
       
    48     TBuf8<2048> iSendBuf, iRecvBuf;
       
    49 
       
    50     TCommDbConnPref iVirtCommDbPref, iRealCommDbPref;
       
    51     };
       
    52 
       
    53 
       
    54 
       
    55 #endif  // __DUMMY3RDPARTYAPP_H__
       
    56