diff options
Diffstat (limited to 'src/core/pvsServer.h')
| -rw-r--r-- | src/core/pvsServer.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/core/pvsServer.h b/src/core/pvsServer.h new file mode 100644 index 0000000..acd9c61 --- /dev/null +++ b/src/core/pvsServer.h @@ -0,0 +1,24 @@ +/** + * A derivate of PVSListenServer and used by the PVSConnectionManager to handle incoming connections + * which then return pointers to their PVSClientConnections to the manager to handle + * in and outgoing messsages/commands + * + */ + + + +#include <src/net/pvsListenServer.h> + +#ifndef _PVSSERVER_H_ +#define _PVSSERVER_H_ + +class PVSServer : public PVSListenServer +{ +public: + PVSServer(int port = 0); +private: + virtual void onClientConnected(PVSClientConnection* connected); + virtual void onClientDisconnected(PVSClientConnection* disconnected); +}; + +#endif |
