FairMQChannel: Refactor, moving short methods to header

This commit is contained in:
Alexey Rybalchenko
2020-09-22 11:37:05 +02:00
committed by Dennis Klein
parent 120760da0a
commit 6699711e17
5 changed files with 116 additions and 280 deletions

View File

@@ -97,11 +97,6 @@ class Socket final : public fair::mq::Socket
// LOG(error) << "Failed setting ZMQ_SUBSCRIBE socket option, reason: " << zmq_strerror(errno);
// }
// }
if (type == "sub" || type == "pub") {
LOG(error) << "PUB/SUB socket type is not supported for shared memory transport";
throw SocketError("PUB/SUB socket type is not supported for shared memory transport");
}
LOG(debug) << "Created socket " << GetId();
}