#ifndef PROGRAMS_WANPROXY_PROXY_LISTENER_H #define PROGRAMS_WANPROXY_PROXY_LISTENER_H #include class Socket; class TCPServer; struct WANProxyCodec; class ProxyListener : public SimpleServer { std::string name_; WANProxyCodec *interface_codec_; WANProxyCodec *remote_codec_; SocketAddressFamily remote_family_; std::string remote_name_; public: ProxyListener(const std::string&, WANProxyCodec *, WANProxyCodec *, SocketAddressFamily, const std::string&, SocketAddressFamily, const std::string&); ~ProxyListener(); private: void client_connected(Socket *); }; #endif /* !PROGRAMS_WANPROXY_PROXY_LISTENER_H */