Added the CommoditiesServer project

This commit is contained in:
Anonymous
2014-01-21 07:09:42 -07:00
parent 254023e4f2
commit 8661d8afc9
36 changed files with 10263 additions and 0 deletions
@@ -0,0 +1,41 @@
// ======================================================================
//
// ConfigCommodityServer.h
// Copyright 2004, Sony Online Entertainment Inc., all rights reserved.
// Author: Doug Mellencamp
// Server Infrastructure by: Justin Randall
//
// This is message handler for incoming gameserver messages.
//
// ======================================================================
#ifndef _INCLUDED_GameServerConnection_H
#define _INCLUDED_GameServerConnection_H
#include "serverUtility/ServerConnection.h"
// ======================================================================
class GameServerConnection : public ServerConnection
{
public:
GameServerConnection(UdpConnectionMT *, TcpClient * t);
~GameServerConnection();
virtual void onConnectionClosed ();
virtual void onConnectionOpened ();
virtual void onReceive (const Archive::ByteStream & message);
private:
int m_gameServerId;
bool m_showAllDebugInfo;
GameServerConnection();
GameServerConnection & operator = (const GameServerConnection & rhs);
GameServerConnection(const GameServerConnection & source);
};
//-----------------------------------------------------------------------
#endif // _INCLUDED_GameServerConnection_H