connectivitylayer/isce/p2prouter_dll/src/p2prouter.cpp
changeset 8 6295dc2169f3
parent 0 63b37f68c1ce
child 9 8486d82aef45
equal deleted inserted replaced
7:fa67e03b87df 8:6295dc2169f3
   307         iShChannelTable[ i ].iChannel = NULL;
   307         iShChannelTable[ i ].iChannel = NULL;
   308         iShChannelTable[ i ].iWaitingChannel = NULL;
   308         iShChannelTable[ i ].iWaitingChannel = NULL;
   309         }
   309         }
   310     // TODO:do more clever way to create links.
   310     // TODO:do more clever way to create links.
   311     // Configuration of links.
   311     // Configuration of links.
   312     iLinksArray[ EP2PRpc ] = MP2PRouterLinkIf::CreateLinkF( this, EP2PRpc, ETrxTest );
   312     iLinksArray[ EP2PRpc ] = MP2PRouterLinkIf::CreateLinkF( this, EP2PRpc, ETrxSharedMemory );
   313     iLinksArray[ EP2PTest ] = MP2PRouterLinkIf::CreateLinkF( this, EP2PTest, ETrxTest );
   313     iLinksArray[ EP2PTest ] = MP2PRouterLinkIf::CreateLinkF( this, EP2PTest, ETrxTest );
   314     iLinksArray[ EP2PTest2 ] = MP2PRouterLinkIf::CreateLinkF( this, EP2PTest2, ETrxTest );
   314     iLinksArray[ EP2PTest2 ] = MP2PRouterLinkIf::CreateLinkF( this, EP2PTest2, ETrxTest );
   315     iTrxPrecentDfc = new TDfc( TrxPrecentDfc, this, iP2PDfcQueList[ MP2PChRouterIf::EP2PDfcThread ], KDfcPriority );
   315     iTrxPrecentDfc = new TDfc( TrxPrecentDfc, this, iP2PDfcQueList[ MP2PChRouterIf::EP2PDfcThread ], KDfcPriority );
   316     iTrxNotPrecentDfc = new TDfc( TrxNotPrecentDfc, this, iP2PDfcQueList[ MP2PChRouterIf::EP2PDfcThread ], KDfcPriority );
   316     iTrxNotPrecentDfc = new TDfc( TrxNotPrecentDfc, this, iP2PDfcQueList[ MP2PChRouterIf::EP2PDfcThread ], KDfcPriority );
   317     iShChannelTableFastMutex = new NFastMutex();
   317     iShChannelTableFastMutex = new NFastMutex();