Logo Search packages:      
Sourcecode: pan version File versions

void NNTP::xover ( const Quark group,
unsigned long  low,
unsigned long  high,
Listener l 
)

Executes an XOVER command: "XOVER low-high"

If successful, this will invoke Listener::on_nntp_line() for each article header line we get back.

Listener::on_nntp_done() will be called whether the command is successful or not.

Definition at line 303 of file nntp.cc.

References pan::Quark::c_str().

{
   _listener = l;

   if (group != _group)
      _commands.push_back (build_command ("GROUP %s\r\n", group.c_str()));

   _commands.push_back (build_command ("XOVER %lu-%lu\r\n", low, high));

   write_next_command ();
}


Generated by  Doxygen 1.6.0   Back to index