Lines Matching refs:pCL
440 void CommunicationManager::CallConnectionOpened( CommunicationLink* pCL ) in CallConnectionOpened() argument
442 pCL->StartCallback(); // Sollte bereits vor dem Aufruf gerufen werden in CallConnectionOpened()
443 pCL->aStart = DateTime(); in CallConnectionOpened()
444 pCL->aLastAccess = pCL->aStart; in CallConnectionOpened()
446 pCL->SetApplication( GetApplication() ); in CallConnectionOpened()
448 xLastNewLink = pCL; in CallConnectionOpened()
450 INFO_MSG( CByteString("C+:").Append( pCL->GetCommunicationPartner( CM_FQDN ) ), in CallConnectionOpened()
451 CByteString("Verbindung aufgebaut: ").Append( pCL->GetCommunicationPartner( CM_FQDN ) ), in CallConnectionOpened()
452 CM_OPEN, pCL ); in CallConnectionOpened()
453 ConnectionOpened( pCL ); in CallConnectionOpened()
454 pCL->FinishCallback(); in CallConnectionOpened()
457 void CommunicationManager::CallConnectionClosed( CommunicationLink* pCL ) in CallConnectionClosed() argument
459 pCL->StartCallback(); // Sollte bereits vor dem Aufruf gerufen werden in CallConnectionClosed()
460 pCL->aLastAccess = DateTime(); in CallConnectionClosed()
462 INFO_MSG( CByteString("C-:").Append( pCL->GetCommunicationPartner( CM_FQDN ) ), in CallConnectionClosed()
463 CByteString("Verbindung abgebrochen: ").Append( pCL->GetCommunicationPartner( CM_FQDN ) ), in CallConnectionClosed()
464 CM_CLOSE, pCL ); in CallConnectionClosed()
465 ConnectionClosed( pCL ); in CallConnectionClosed()
467 if ( xLastNewLink == pCL ) in CallConnectionClosed()
470 pCL->FinishCallback(); in CallConnectionClosed()
474 void CommunicationManager::CallDataReceived( CommunicationLink* pCL ) in CallDataReceived() argument
476 pCL->StartCallback(); // Sollte bereits vor dem Aufruf gerufen werden in CallDataReceived()
477 pCL->aLastAccess = DateTime(); in CallDataReceived()
478 CommunicationLinkRef rHold(pCL); // H�lt den Zeiger bis zum Ende des calls in CallDataReceived()
481 if ( !pCL->pServiceData ) in CallDataReceived()
484 pCL->FinishCallback(); in CallDataReceived()
489 if ( CH_Handshake == pCL->nServiceHeaderType ) in CallDataReceived()
491 SvStream *pData = pCL->GetServiceData(); in CallDataReceived()
500 pCL->SendHandshake( CH_RESPONSE_HandshakeAlive ); in CallDataReceived()
508 pCL->SendHandshake( CH_ShutdownLink ); in CallDataReceived()
516 pCL->ShutdownCommunication(); in CallDataReceived()
523 pCL->CommunicationLink::SetApplication( aApplication ); in CallDataReceived()
543 if ( pCL->pServiceData ) in CallDataReceived()
545 pCL->nTotalBytes += pCL->pServiceData->Seek( STREAM_SEEK_TO_END ); in CallDataReceived()
546 pCL->pServiceData->Seek( STREAM_SEEK_TO_BEGIN ); in CallDataReceived()
549 INFO_MSG( CByteString("D :").Append( pCL->GetCommunicationPartner( CM_FQDN ) ), in CallDataReceived()
550 CByteString("Daten Empfangen:").Append( pCL->GetCommunicationPartner( CM_FQDN ) ), in CallDataReceived()
551 CM_RECEIVE, pCL ); in CallDataReceived()
552 DataReceived( pCL ); in CallDataReceived()
554 delete pCL->GetServiceData(); in CallDataReceived()
555 pCL->FinishCallback(); in CallDataReceived()
605 sal_Bool SingleCommunicationManager::IsLinkValid( CommunicationLink* pCL ) in IsLinkValid() argument
607 return &xActiveLink == pCL; in IsLinkValid()
620 void SingleCommunicationManager::CallConnectionOpened( CommunicationLink* pCL ) in CallConnectionOpened() argument
630 xActiveLink = pCL; in CallConnectionOpened()
631 CommunicationManager::CallConnectionOpened( pCL ); in CallConnectionOpened()
634 void SingleCommunicationManager::CallConnectionClosed( CommunicationLink* pCL ) in CallConnectionClosed() argument
636 CommunicationManager::CallConnectionClosed( pCL ); in CallConnectionClosed()
638 …DBG_ASSERT( pCL == xActiveLink, "SingleCommunicationManager::CallConnectionClosed mit fremdem Link… in CallConnectionClosed()
646 void SingleCommunicationManager::DestroyingLink( CommunicationLink *pCL ) in DestroyingLink() argument
649 pCL->InvalidateManager(); in DestroyingLink()