diff options
| author | Sebastian | 2010-05-12 19:42:27 +0200 |
|---|---|---|
| committer | Sebastian | 2010-05-12 19:42:27 +0200 |
| commit | ce3329047d378a14006ce74ec273ac59e3375303 (patch) | |
| tree | 782430f270b4c7aca1b35d5b7813518e3797c555 /src/core/pvsServer.cpp | |
| download | pvs-ce3329047d378a14006ce74ec273ac59e3375303.tar.gz pvs-ce3329047d378a14006ce74ec273ac59e3375303.tar.xz pvs-ce3329047d378a14006ce74ec273ac59e3375303.zip | |
initial import of latest svn version
Diffstat (limited to 'src/core/pvsServer.cpp')
| -rw-r--r-- | src/core/pvsServer.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core/pvsServer.cpp b/src/core/pvsServer.cpp new file mode 100644 index 0000000..916ad89 --- /dev/null +++ b/src/core/pvsServer.cpp @@ -0,0 +1,22 @@ +#include "pvsConnectionManager.h" +#undef Q_FOREACH +#include "pvsServer.h" + + +PVSServer::PVSServer(int port) + :PVSListenServer(port,0) +{ +} + + +void PVSServer::onClientConnected(PVSClientConnection* connected) +{ + PVSListenServer::onClientConnected(connected); + PVSConnectionManager::getManager()->onClientNew(connected); +} +void PVSServer::onClientDisconnected(PVSClientConnection* disconnected) +{ + PVSConnectionManager::getManager()->onClientRemove(disconnected); + PVSListenServer::onClientDisconnected(disconnected); +} + |
