Logo Search packages:      
Sourcecode: pan version File versions

void Task::give_nntp ( NNTP::Source source,
NNTP nntp 
) [inherited]

Pass a NNTP connection to the Task so it can do some work

Definition at line 40 of file task.cc.

References pan::Task::_nntp_to_source, and pan::NNTP::_server.

{
  _nntp_to_source[nntp] = source;
  debug ("gave nntp " << nntp->_server << " (" << nntp << ") to task " << this << ", which now has " << _nntp_to_source.size() << " nntps");
  use_nntp (nntp);
}


Generated by  Doxygen 1.6.0   Back to index