mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Deprecate Channel::GetChannelX() in favor of Channel::GetX()
This commit is contained in:
committed by
Dennis Klein
parent
73ccefa4cb
commit
3538d9f410
@@ -293,7 +293,7 @@ void FairMQDevice::ConnectWrapper()
|
||||
this_thread::sleep_for(chrono::milliseconds(sleepTimeInMS));
|
||||
|
||||
for (auto& chan : fUninitializedConnectingChannels) {
|
||||
string key{"chans." + chan->GetChannelPrefix() + "." + chan->GetChannelIndex() + ".address"};
|
||||
string key{"chans." + chan->GetPrefix() + "." + chan->GetIndex() + ".address"};
|
||||
string newAddress = fConfig->GetValue<string>(key);
|
||||
if (newAddress != chan->GetAddress()) {
|
||||
chan->UpdateAddress(newAddress);
|
||||
@@ -322,7 +322,7 @@ void FairMQDevice::AttachChannels(vector<FairMQChannel*>& chans)
|
||||
auto itr = chans.begin();
|
||||
|
||||
while (itr != chans.end()) {
|
||||
if ((*itr)->ValidateChannel()) {
|
||||
if ((*itr)->Validate()) {
|
||||
(*itr)->Init();
|
||||
if (AttachChannel(**itr)) {
|
||||
(*itr)->SetModified(false);
|
||||
|
Reference in New Issue
Block a user