summaryrefslogblamecommitdiffstats
path: root/src/core/pvsServer.h
blob: acd9c61006dfcea419fb24881a86980ab31ff757 (plain) (tree)























                                                                                                     
/**
  * 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