mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
* 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.
23 lines
695 B
C++
23 lines
695 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 "CommLocalClient.h"
|
|
|
|
#include "TrustedConnection.h"
|
|
#include "CommServer.h"
|
|
|
|
/// \brief Constructor for local client socket object.
|
|
///
|
|
/// @param svr Reference to the object that manages all socket communication.
|
|
/// @param fd Socket file descriptor
|
|
CommLocalClient::CommLocalClient(CommServer & svr, int fd) :
|
|
CommClient(svr, fd, *new TrustedConnection("local", *this,
|
|
svr.m_server))
|
|
{
|
|
}
|
|
|
|
|
|
CommLocalClient::~CommLocalClient()
|
|
{
|
|
}
|