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

void NNTP::noop ( Listener l )

Executes a short, non-state-changing command ("MODE READER") to keep the session from timing out.

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

Definition at line 437 of file nntp.cc.

   _listener = l;
   _commands.push_back ("MODE READER\r\n");
   write_next_command ();

Generated by  Doxygen 1.6.0   Back to index