cyphesis/server/CommRemoteClient.cpp
Al Riddoch b035ecfaab 2004-08-27 Al Riddoch <alriddoch@zepler.org>
* common/BaseWorld.h, server/CommSocket.h, server/CommIdleSocket.h:
	  Make constructors of some base classes protected.

	* server/Account.cpp: Note a possible bug in the character
	  creation code.

	* server/CommIdleSocket.cpp, server/CommIdleSocket.h,
	  server/CommListener.cpp, server/CommListener.h,
	  server/CommLocalClient.cpp, server/CommMetaClient.cpp,
	  server/CommMetaClient.h, server/CommPSQLSocket.cpp,
	  server/CommPSQLSocket.h, server/CommRemoteClient.cpp,
	  server/CommSocket.cpp, server/CommSocket.h,
	  server/CommUnixListener.cpp, server/CommUnixListener.h:
	  Clean up the Comm classes for consistancy and readability.
2004-08-28 00:58:01 +00:00

24 lines
713 B
C++

// This file may be redistributed and modified only under the terms of
// the GNU General Public License (See COPYING for details).
// Copyright (C) 2000-2003 Alistair Riddoch
#include "CommRemoteClient.h"
#include "Connection.h"
#include "CommServer.h"
/// \brief Constructor remote client socket object.
///
/// @param svr Reference to the object that manages all socket communication.
/// @param fd Socket file descriptor
/// @param addr Address of the remote client.
CommRemoteClient::CommRemoteClient(CommServer & svr, int fd,
const std::string & addr) :
CommClient(svr, fd, *new Connection(addr, *this, svr.m_server))
{
}
CommRemoteClient::~CommRemoteClient()
{
}