mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-12-15 15:30:16 +00:00
TMessage transport implemented!
This commit is contained in:
@@ -74,6 +74,7 @@ void FairMQDevice::InitInput()
|
||||
} catch (std::out_of_range& e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void FairMQDevice::InitOutput()
|
||||
{
|
||||
@@ -96,6 +97,7 @@ void FairMQDevice::InitOutput()
|
||||
} catch (std::out_of_range& e) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void FairMQDevice::Run()
|
||||
{
|
||||
|
||||
@@ -39,14 +39,6 @@ FairMQSocketZMQ::FairMQSocketZMQ(const string& type, int num, int numIoThreads)
|
||||
if (rc != 0) {
|
||||
LOG(ERROR) << "failed setting socket option, reason: " << zmq_strerror(errno);
|
||||
}
|
||||
|
||||
if (type == "sub")
|
||||
{
|
||||
rc = zmq_setsockopt(fSocket, ZMQ_SUBSCRIBE, NULL, 0);
|
||||
if (rc != 0)
|
||||
{
|
||||
LOG(ERROR) << "failed setting socket option, reason: " << zmq_strerror(errno);
|
||||
}
|
||||
}
|
||||
|
||||
LOG(INFO) << "created socket #" << fId;
|
||||
|
||||
Reference in New Issue
Block a user