2013-12-06 10:45:53 +01:00
|
|
|
#ifndef OYSTER_NETWORK_SERVER_I_CLIENT_H
|
|
|
|
#define OYSTER_NETWORK_SERVER_I_CLIENT_H
|
|
|
|
|
|
|
|
/////////////////////////////////////
|
|
|
|
// Created by Pontus Fransson 2013 //
|
|
|
|
/////////////////////////////////////
|
|
|
|
|
|
|
|
class IClient
|
|
|
|
{
|
|
|
|
public:
|
2013-12-08 23:56:17 +01:00
|
|
|
IClient() {}
|
2013-12-06 10:45:53 +01:00
|
|
|
virtual ~IClient() {}
|
|
|
|
|
2013-12-08 23:56:17 +01:00
|
|
|
virtual void Disconnect() {}
|
|
|
|
virtual bool IsConnected() {return true;}
|
2013-12-06 10:45:53 +01:00
|
|
|
|
2013-12-08 23:56:17 +01:00
|
|
|
virtual void Send() {}
|
2013-12-06 10:45:53 +01:00
|
|
|
|
|
|
|
private:
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|