1 // ANNA - Anna is Not Nothingness Anymore //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
5 // See project site at http://redmine.teslayout.com/projects/anna-suite //
6 // See accompanying file LICENSE or copy at http://www.teslayout.com/projects/public/anna.LICENSE //
9 #include <anna/xml/Node.hpp>
10 #include <anna/xml/Attribute.hpp>
12 #include <anna/comm/internal/RemoteConnection.hpp>
13 #include <anna/comm/Server.hpp>
14 #include <anna/comm/ClientSocket.hpp>
19 string comm::RemoteConnection::asString() const
21 string result("comm::RemoteConnection { ");
22 result += anna::functions::asString(a_clientSocket);
23 return result += " }";
26 xml::Node* comm::RemoteConnection::asXML(xml::Node* parent) const
28 xml::Node* result = parent->createChild("comm.RemoteConnection");
30 if(a_clientSocket != NULL)
31 a_clientSocket->asXML(result);