Panda3D
|
This is the TCP rendezvous socket listener. More...
#include "pStatListener.h"
Public Member Functions | |
PStatListener (PStatServer *manager) | |
Protected Member Functions | |
virtual void | connection_opened (const PT(Connection)&rendezvous, const NetAddress &address, const PT(Connection)&new_connection) |
An internal function called by ConnectionListener() when a new TCP connection has been established. |
This is the TCP rendezvous socket listener.
We need one of these to listen for new connections on the socket(s) added to the PStatServer.
Definition at line 32 of file pStatListener.h.
void PStatListener::connection_opened | ( | const PT(Connection)& | rendezvous, |
const NetAddress & | address, | ||
const PT(Connection)& | new_connection | ||
) | [protected, virtual] |
An internal function called by ConnectionListener() when a new TCP connection has been established.
Implements ConnectionListener.
Definition at line 38 of file pStatListener.cxx.
References PStatServer::add_reader(), Connection::set_collect_tcp(), and PStatReader::set_tcp_connection().