Logo Search packages:      
Sourcecode: pan version File versions

void NNTP::list_newsgroups ( Listener l  ) 

Executes a LIST command: "LIST GROUPS"

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

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

Definition at line 319 of file nntp.cc.

{
   _listener = l;
   _commands.push_back ("LIST NEWSGROUPS\r\n");
   write_next_command ();
}


Generated by  Doxygen 1.6.0   Back to index