294 // CWsfEventHandler::BlockNextConnectedEvent |
294 // CWsfEventHandler::BlockNextConnectedEvent |
295 // --------------------------------------------------------------------------- |
295 // --------------------------------------------------------------------------- |
296 // |
296 // |
297 void CWsfEventHandler::BlockNextConnectedEvent() |
297 void CWsfEventHandler::BlockNextConnectedEvent() |
298 { |
298 { |
|
299 LOG_ENTERFN( "CWsfEventHandler::BlockNextConnectedEvent" ); |
299 if ( iConnecting ) |
300 if ( iConnecting ) |
300 { |
301 { |
|
302 LOG_WRITE( "iBlockConnectedEvent to true" ); |
301 // set the flag only if we are the ones who are connecting |
303 // set the flag only if we are the ones who are connecting |
302 iBlockConnectedEvent = ETrue; |
304 iBlockConnectedEvent = ETrue; |
303 } |
305 } |
304 } |
306 } |
305 |
307 |
306 |
308 |
307 // --------------------------------------------------------------------------- |
309 // --------------------------------------------------------------------------- |
|
310 // CWsfEventHandler::UnBlockNextConnectedEvent |
|
311 // --------------------------------------------------------------------------- |
|
312 // |
|
313 void CWsfEventHandler::UnBlockNextConnectedEvent() |
|
314 { |
|
315 LOG_ENTERFN( "CWsfEventHandler::UnBlockNextConnectedEvent" ); |
|
316 LOG_WRITE( "iBlockConnectedEvent to false" ); |
|
317 iBlockConnectedEvent = EFalse; |
|
318 } |
|
319 |
|
320 |
|
321 // --------------------------------------------------------------------------- |
308 // CWsfEventHandler::SetConnecting |
322 // CWsfEventHandler::SetConnecting |
309 // --------------------------------------------------------------------------- |
323 // --------------------------------------------------------------------------- |
310 // |
324 // |
311 void CWsfEventHandler::SetConnecting( TBool aConnecting ) |
325 void CWsfEventHandler::SetConnecting( TBool aConnecting ) |
312 { |
326 { |
|
327 LOG_ENTERFN( "CWsfEventHandler::SetConnecting" ); |
|
328 LOG_WRITEF( "iConnecting=%d, aConnecting=%d", iConnecting, aConnecting ); |
313 iConnecting = aConnecting; |
329 iConnecting = aConnecting; |
314 } |
330 } |
315 |
331 |
316 |
332 |
317 // --------------------------------------------------------------------------- |
333 // --------------------------------------------------------------------------- |