ANNA Suite  2020b
Multipurpose development suite for Telco applications
RemoteConnection.hpp
Go to the documentation of this file.
1 // ANNA - Anna is Not Nothingness Anymore //
2 // //
3 // (c) Copyright 2005-2015 Eduardo Ramos Testillano & Francisco Ruiz Rayo //
4 // //
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 //
7 
8 
9 #ifndef anna_comm_handler_RemoteConnection_hpp
10 #define anna_comm_handler_RemoteConnection_hpp
11 
13 
14 namespace anna {
15 
16 namespace comm {
17 
18 class RemoteConnection;
19 
20 namespace handler {
21 
23 public:
24  RemoteConnection(Communicator* communicator) :
26  a_remoteConnection(NULL)
27  {;}
28 
29  void setup(comm::RemoteConnection* remoteConnection) { a_remoteConnection = remoteConnection; }
30 
32 
33 private:
34  comm::RemoteConnection* a_remoteConnection;
35 
36  void initialize() noexcept(false);
37  void finalize() ;
38  void clone() noexcept(false);
39  std::string asString() const ;
40  xml::Node* asXML(xml::Node*) const ;
41 };
42 
43 }
44 }
45 }
46 
47 #endif
48 
Definition: Communicator.hpp:79
Definition: MetaClientSocket.hpp:22
RemoteConnection(Communicator *communicator)
Definition: RemoteConnection.hpp:24
Definition: Node.hpp:56
Definition: ClientSocket.hpp:38
comm::ClientSocket * getClientSocket()
void setup(comm::RemoteConnection *remoteConnection)
Definition: RemoteConnection.hpp:29
Definition: app.hpp:12
Definition: RemoteConnection.hpp:23
Definition: Handler.hpp:33
Definition: Handler.hpp:47
Definition: RemoteConnection.hpp:22