Logo Search packages:      
Sourcecode: kmess version File versions

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

Verify whether the transfer was initiated and was completed.

Returns:
Whether the transfer is complete.
Todo:
This only works for receiving data at the moment.

Definition at line 1161 of file p2papplicationbase.cpp.

References P2PFragmentTracker::isComplete().

Referenced by P2PApplication::contactAborted(), P2PApplication::gotAck_slpTransferOk(), P2PApplication::gotDirectConnectionHandshake(), P2PApplication::gotSlpBye(), and P2PApplication::userAborted().

{
  return fragmentTracker_.isComplete();  // TODO: sending data.
}


Generated by  Doxygen 1.6.0   Back to index