Trying to bring life to the server.

This commit is contained in:
lotodore
2007-05-14 12:40:42 +00:00
parent 7540ea17bd
commit 2d894c6a2c
16 changed files with 279 additions and 102 deletions
+21
View File
@@ -109,6 +109,27 @@ protected:
ServerRecvStateStartHand();
};
// State: Start new round.
class ServerRecvStateStartRound : public ServerRecvState
{
public:
// Access the state singleton.
static ServerRecvStateStartRound &Instance();
virtual ~ServerRecvStateStartRound();
//
virtual void HandleNewConnection(ServerRecvThread &server, boost::shared_ptr<ConnectData> data);
//
virtual int Process(ServerRecvThread &server);
protected:
// Protected constructor - this is a singleton.
ServerRecvStateStartRound();
};
// State: Final.
class ServerRecvStateFinal : public ServerRecvState
{