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(); |