mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41:45 +00:00
Expose BIND and CONNECT states for use with dynamic configuration
introduce FairMQ interface version
This commit is contained in:
@@ -61,7 +61,7 @@ string FairMQSocketNN::GetId()
|
||||
return fId;
|
||||
}
|
||||
|
||||
void FairMQSocketNN::Bind(const string& address)
|
||||
bool FairMQSocketNN::Bind(const string& address)
|
||||
{
|
||||
LOG(INFO) << "bind socket #" << fId << " on " << address;
|
||||
|
||||
@@ -69,7 +69,9 @@ void FairMQSocketNN::Bind(const string& address)
|
||||
if (eid < 0)
|
||||
{
|
||||
LOG(ERROR) << "failed binding socket #" << fId << ", reason: " << nn_strerror(errno);
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
void FairMQSocketNN::Connect(const string& address)
|
||||
|
Reference in New Issue
Block a user