Logo Search packages:      
Sourcecode: pan version File versions  Download package

void NNTP::group ( const Quark group,
Listener l 

Executes an GROUP command: "GROUP groupname"

If successful, this will invoke Listener::on_nntp_group(). for each line of the article we get back.

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

Definition at line 397 of file nntp.cc.

References pan::Quark::c_str().

   _listener = l;

   _commands.push_back (build_command ("GROUP %s\r\n", group.c_str()));
   debug ("_commands.size(): " << _commands.size());
   write_next_command ();

Generated by  Doxygen 1.6.0   Back to index