mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-13 00:31:14 +00:00
support inproc addresses
This commit is contained in:
parent
3cb80de773
commit
8b85dd2191
|
@ -541,6 +541,18 @@ bool FairMQChannel::ValidateChannel()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (address.compare(0, 9, "inproc://") == 0)
|
||||||
|
{
|
||||||
|
// check if IPC address is not empty
|
||||||
|
string addressString = address.substr(9);
|
||||||
|
if (addressString == "")
|
||||||
|
{
|
||||||
|
ss << "INVALID";
|
||||||
|
LOG(DEBUG) << ss.str();
|
||||||
|
LOG(ERROR) << "invalid channel address: \"" << address << "\" (empty inproc address?)";
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// if neither TCP or IPC is specified, return invalid
|
// if neither TCP or IPC is specified, return invalid
|
||||||
|
|
Loading…
Reference in New Issue
Block a user