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 #ifndef anna_comm_handler_LocalConnection_hpp
10 #define anna_comm_handler_LocalConnection_hpp
12 #include <anna/comm/handler/MetaClientSocket.hpp>
18 class LocalConnection;
22 class LocalConnection : public MetaClientSocket {
24 LocalConnection(Communicator* communicator) :
25 MetaClientSocket(communicator, Handler::Type::LocalConnection),
26 a_localConnection(NULL)
29 void setup(comm::LocalConnection* localConnection) throw() { a_localConnection = localConnection; }
31 comm::ClientSocket* getClientSocket() throw();
34 comm::LocalConnection* a_localConnection;
36 void initialize() throw(RuntimeException);
37 void finalize() throw();
39 std::string asString() const throw();
40 xml::Node* asXML(xml::Node*) const throw();