Files
src-1.2/engine/server/application/ChatServer/src/shared/CentralServerConnection.h
T

31 lines
1.1 KiB
C++
Executable File

// CentralServerConnection.h
// Copyright 2000-02, Sony Online Entertainment Inc., all rights reserved.
// Author: Justin Randall
#ifndef _INCLUDED_CentralServerConnection_H
#define _INCLUDED_CentralServerConnection_H
//-----------------------------------------------------------------------
#include "serverUtility/ServerConnection.h"
//-----------------------------------------------------------------------
class CentralServerConnection : public ServerConnection
{
public:
CentralServerConnection(const std::string & remoteAddress, const unsigned short remotePort);
~CentralServerConnection();
void onConnectionClosed ();
void onConnectionOpened ();
void onReceive (const Archive::ByteStream & bs);
private:
CentralServerConnection & operator = (const CentralServerConnection & rhs);
CentralServerConnection(const CentralServerConnection & source);
};//lint !e1712 default constructor not defined for class
//-----------------------------------------------------------------------
#endif // _INCLUDED_CentralServerConnection_H