TMessage transport implemented!

This commit is contained in:
Alexey Rybalchenko 2014-06-05 11:18:49 +02:00
parent 622e9e9c09
commit 08e603911d
2 changed files with 4 additions and 10 deletions

View File

@ -73,6 +73,7 @@ void FairMQDevice::InitInput()
} }
} catch (std::out_of_range& e) { } catch (std::out_of_range& e) {
} }
}
} }
void FairMQDevice::InitOutput() void FairMQDevice::InitOutput()
@ -95,6 +96,7 @@ void FairMQDevice::InitOutput()
} }
} catch (std::out_of_range& e) { } catch (std::out_of_range& e) {
} }
}
} }
void FairMQDevice::Run() void FairMQDevice::Run()

View File

@ -39,14 +39,6 @@ FairMQSocketZMQ::FairMQSocketZMQ(const string& type, int num, int numIoThreads)
if (rc != 0) { if (rc != 0) {
LOG(ERROR) << "failed setting socket option, reason: " << zmq_strerror(errno); 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; LOG(INFO) << "created socket #" << fId;