mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
87 lines
2.1 KiB
C++
87 lines
2.1 KiB
C++
/*
|
|
Copyright (C) 2014 Erik Ogenvik
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
|
*/
|
|
#ifndef STUBCONNECTION_H_
|
|
#define STUBCONNECTION_H_
|
|
|
|
|
|
Connection::Connection(CommSocket & client,
|
|
ServerRouting & svr,
|
|
const std::string & addr,
|
|
const std::string & id, long iid) :
|
|
Link(client, id, iid), m_obsolete(false),
|
|
m_server(svr)
|
|
{
|
|
}
|
|
|
|
Account * Connection::newAccount(const std::string & type,
|
|
const std::string & username,
|
|
const std::string & passwd,
|
|
const std::string & id, long intId)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int Connection::verifyCredentials(const Account &,
|
|
const Atlas::Objects::Root &) const
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
|
|
Connection::~Connection()
|
|
{
|
|
}
|
|
|
|
|
|
void Connection::externalOperation(const Operation &, Link &)
|
|
{
|
|
}
|
|
|
|
void Connection::operation(const Operation &, OpVector &)
|
|
{
|
|
}
|
|
|
|
void Connection::LoginOperation(const Operation &, OpVector &)
|
|
{
|
|
}
|
|
|
|
void Connection::LogoutOperation(const Operation &, OpVector &)
|
|
{
|
|
}
|
|
|
|
void Connection::CreateOperation(const Operation &, OpVector &)
|
|
{
|
|
}
|
|
|
|
void Connection::GetOperation(const Operation &, OpVector &)
|
|
{
|
|
}
|
|
|
|
void Connection::addEntity(LocatedEntity * ent)
|
|
{
|
|
}
|
|
|
|
void Connection::addObject(Router * obj)
|
|
{
|
|
}
|
|
|
|
void Connection::setPossessionEnabled(bool enabled, const std::string& routerId)
|
|
{
|
|
}
|
|
|
|
#endif /* STUBCONNECTION_H_ */
|