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_ClientSocket_hpp
10 #define anna_comm_handler_ClientSocket_hpp
12 #include <anna/comm/handler/MetaClientSocket.hpp>
22 class ClientSocket : public MetaClientSocket {
24 ClientSocket(Communicator* communicator) :
25 MetaClientSocket(communicator, Handler::Type::ClientSocket),
29 void setup(comm::ClientSocket* clientSocket) throw() { a_clientSocket = clientSocket; }
31 comm::ClientSocket* getClientSocket() throw() { return a_clientSocket; }
34 comm::ClientSocket* a_clientSocket;
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();