mirror of
https://github.com/ENSL/NS.git
synced 2024-11-26 06:20:57 +00:00
4f13237895
Change CRLF to LF in repo.
31 lines
No EOL
633 B
C++
31 lines
No EOL
633 B
C++
#if 0
|
|
#ifndef AVHNEXUSTUNNELTOSERVER_H
|
|
#define AVHNEXUSTUNNELTOSERVER_H
|
|
|
|
#include <queue>
|
|
|
|
#include <string>
|
|
using std::string;
|
|
|
|
namespace AvHNexus
|
|
{
|
|
class TunnelToServer : public Nexus::TunnelToServer
|
|
{
|
|
public:
|
|
static TunnelToServer* getInstance(void);
|
|
virtual ~TunnelToServer(void);
|
|
|
|
virtual Nexus::TunnelToServer* clone(void) const;
|
|
virtual bool send(const std::string &data);
|
|
virtual bool recv(std::string &data);
|
|
|
|
virtual bool insertMessage(const std::string &message); //inserted into queue of messages from server
|
|
|
|
private:
|
|
TunnelToServer(void);
|
|
std::deque<const std::string> messages;
|
|
};
|
|
}
|
|
|
|
#endif
|
|
#endif
|