implement json forwarder

Former-commit-id: 5519118304bd5690e6b512481347579339e78ac9
This commit is contained in:
redpanther
2016-02-15 20:53:03 +01:00
parent b01b5eb005
commit df91527557
5 changed files with 45 additions and 14 deletions

View File

@@ -18,7 +18,6 @@ ProtoServer::ProtoServer(Hyperion *hyperion, uint16_t port) :
QStringList slaves = forwarder->getProtoSlaves();
for (int i = 0; i < slaves.size(); ++i) {
std::cout << "Proto forward to " << slaves.at(i).toLocal8Bit().constData() << std::endl;
ProtoConnection* p = new ProtoConnection(slaves.at(i).toLocal8Bit().constData());
p->setSkipReply(true);
_proxy_connections << p;