From ce3329047d378a14006ce74ec273ac59e3375303 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Wed, 12 May 2010 19:42:27 +0200 Subject: initial import of latest svn version --- src/core/pvsServer.h | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/core/pvsServer.h (limited to 'src/core/pvsServer.h') 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 + +#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 -- cgit v1.2.3-55-g7522