GPop::Server Class Reference

A POP server class. More...

#include <gpopserver.h>

Inheritance diagram for GPop::Server:


List of all members.

Public Member Functions

 Server (Store &store, const Secrets &, Config)
 Constructor. The 'secrets' reference is kept.
virtual ~Server ()
GNet::ServerPeernewPeer (GNet::Server::PeerInfo)
 From MultiServer.
void report () const
 Generates helpful diagnostics after construction.


struct  Config
 A structure containing GPop::Server configuration parameters. More...

Detailed Description

A POP server class.

Definition at line 90 of file gpopserver.h.

Constructor & Destructor Documentation

GPop::Server::Server ( Store store,
const Secrets secrets,
Config  config 

Constructor. The 'secrets' reference is kept.

Definition at line 82 of file gpopserver.cpp.

GPop::Server::~Server (  )  [virtual]


Definition at line 90 of file gpopserver.cpp.

References GNet::MultiServer::serverCleanup().

Member Function Documentation

GNet::ServerPeer * GPop::Server::newPeer ( GNet::Server::PeerInfo  peer_info  )  [virtual]

From MultiServer.

Implements GNet::MultiServer.

Definition at line 102 of file gpopserver.cpp.

References G_WARNING, GNet::Local::isLocal(), and GNet::Server::PeerInfo::m_address.

void GPop::Server::report (  )  const

Generates helpful diagnostics after construction.

Definition at line 96 of file gpopserver.cpp.

References G_LOG_S, GPop::Secrets::path(), and GNet::MultiServer::serverReport().

The documentation for this class was generated from the following files:

Generated on Fri Apr 18 15:56:13 2008 for E-MailRelay by  doxygen 1.5.5