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