LogCabin
|
Couples a BoundListener with an Event::File::Monitor and destroys them in the right order (monitor first). More...
Public Member Functions | |
BoundListenerWithMonitor (OpaqueServer &server, int fd) | |
Constructor. See BoundListener. | |
~BoundListenerWithMonitor () | |
Destructor. | |
Public Attributes | |
BoundListener | handler |
This creates a new SocketWithHandler instance upon getting a new connection. | |
Event::File::Monitor | monitor |
This listens for incoming TCP connections and calls 'handler' with them. |
Couples a BoundListener with an Event::File::Monitor and destroys them in the right order (monitor first).
Definition at line 203 of file OpaqueServer.h.
LogCabin::RPC::OpaqueServer::BoundListenerWithMonitor::BoundListenerWithMonitor | ( | OpaqueServer & | server, |
int | fd | ||
) |
Constructor. See BoundListener.
Definition at line 152 of file OpaqueServer.cc.
Destructor.
Definition at line 160 of file OpaqueServer.cc.
This creates a new SocketWithHandler instance upon getting a new connection.
Definition at line 213 of file OpaqueServer.h.
This listens for incoming TCP connections and calls 'handler' with them.
Definition at line 218 of file OpaqueServer.h.