summaryrefslogtreecommitdiffstats
path: root/src/core/pvsServer.h
blob: acd9c61006dfcea419fb24881a86980ab31ff757 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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