cyphesis/server/ExternalMind.cpp
Al Riddoch 49691213c9 2002-03-08 Al Riddoch <alriddoch@zepler.org>
* Changed typedef names to ones which make more sense, and are
	  clearer. There is no change in functionality in this commit.
2002-03-08 14:58:40 +00:00

18 lines
527 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,2001 Alistair Riddoch
#include "ExternalMind.h"
#include "Connection_methods.h"
ExternalMind::ExternalMind(Connection & connection, const std::string & id,
const std::string & name) :
BaseMind(id, name), connection(connection)
{
}
OpVector ExternalMind::message(const RootOperation & op)
{
connection.send(&op);
return OpVector();
}