Logo Search packages:      
Sourcecode: kmess version File versions

bool P2PApplicationBase::isTransferActive (  )  const [protected, inherited]

Test whether the transfer is active.

Returns:
Whether the transfer is active.

Definition at line 1148 of file p2papplicationbase.cpp.

References P2PFragmentTracker::isEmpty(), and P2PApplicationBase::P2P_TYPE_NEGOTIATION.

Referenced by P2PApplication::gotAck_slpTransferDecline(), P2PApplication::gotAck_slpTransferOk(), P2PApplication::gotDirectConnectionHandshake(), P2PApplication::gotSlpOk(), and P2PApplication::slotConnectionAuthorized().

{
  return dataType_ != P2P_TYPE_NEGOTIATION  // sending data
      || ! fragmentTracker_.isEmpty();      // receiving data
}


Generated by  Doxygen 1.6.0   Back to index