connectivitylayer/isce/p2prouter_dll/inc/p2prouter.h
changeset 9 8486d82aef45
parent 0 63b37f68c1ce
equal deleted inserted replaced
8:6295dc2169f3 9:8486d82aef45
    75         TDfcQue* GetDfcThread( const TP2PDfcThread anIndex );
    75         TDfcQue* GetDfcThread( const TP2PDfcThread anIndex );
    76 
    76 
    77         /*
    77         /*
    78         * See comments from MP2PChRouterIf
    78         * See comments from MP2PChRouterIf
    79         */
    79         */
    80         void Open( const TUint8 aProtocolId, MP2PRouterChIf* aCallback );
    80         void Connect( const TUint8 aProtocolId, MP2PRouterChIf* aCallback );
    81 
    81 
    82         /*
    82         /*
    83         * See comments from MP2PChRouterIf
    83         * See comments from MP2PChRouterIf
    84         */
    84         */
    85         TInt Send( TDes8& aMessage, const TUint8 aProtocolId );
    85         TInt Send( TDes8& aMessage, const TUint8 aProtocolId );
   114         NONSHARABLE_CLASS( TP2PChannel )
   114         NONSHARABLE_CLASS( TP2PChannel )
   115             {
   115             {
   116             public:
   116             public:
   117                 MP2PRouterChIf*   iChannel;
   117                 MP2PRouterChIf*   iChannel;
   118                 MP2PRouterChIf*   iWaitingChannel;
   118                 MP2PRouterChIf*   iWaitingChannel;
       
   119                 TBool             iTrxConnectionStatus;
   119             };
   120             };
   120 
   121 
   121         // Guards class shared state of this class, owned
   122         // Guards class shared state of this class, owned
   122         NFastMutex*         iShChannelTableFastMutex;
   123         NFastMutex*         iShChannelTableFastMutex;
   123         // One channel / P2P protocol
   124         // One channel / P2P protocol