summaryrefslogtreecommitdiffstats
path: root/src/core/pvsServer.h
diff options
context:
space:
mode:
authorSebastian2010-05-12 19:42:27 +0200
committerSebastian2010-05-12 19:42:27 +0200
commitce3329047d378a14006ce74ec273ac59e3375303 (patch)
tree782430f270b4c7aca1b35d5b7813518e3797c555 /src/core/pvsServer.h
downloadpvs-ce3329047d378a14006ce74ec273ac59e3375303.tar.gz
pvs-ce3329047d378a14006ce74ec273ac59e3375303.tar.xz
pvs-ce3329047d378a14006ce74ec273ac59e3375303.zip
initial import of latest svn version
Diffstat (limited to 'src/core/pvsServer.h')
-rw-r--r--src/core/pvsServer.h24
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