mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
Remove unused methods from FairMQProgOptions
This commit is contained in:
committed by
Dennis Klein
parent
3538d9f410
commit
f46803a8b6
@@ -432,6 +432,13 @@ try {
|
||||
return true;
|
||||
}
|
||||
|
||||
// validate channel name
|
||||
if (fName.find(".") != string::npos) {
|
||||
ss << "INVALID";
|
||||
LOG(error) << "channel name must not contain '.'";
|
||||
return false;
|
||||
}
|
||||
|
||||
// validate socket type
|
||||
const set<string> socketTypes{ "sub", "pub", "pull", "push", "req", "rep", "xsub", "xpub", "dealer", "router", "pair" };
|
||||
if (socketTypes.find(fType) == socketTypes.end()) {
|
||||
|
Reference in New Issue
Block a user