MongoDB  2.7.0
Public Member Functions | List of all members
mongo::MessageHandler Class Referenceabstract

Inherited by mongo::DummyMessageHandler.

Public Member Functions

virtual void connected (AbstractMessagingPort *p)=0
 called once when a socket is connected
virtual void process (Message &m, AbstractMessagingPort *p, LastError *err)=0
 called every time a message comes in handler is responsible for responding to client
virtual void disconnected (AbstractMessagingPort *p)=0
 called once when a socket is disconnected

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