URI: ev4 to epics, and URI version major check

This commit is contained in:
Matej Sekoranja
2014-10-28 22:04:01 +01:00
parent 24619e45df
commit 5b1825a11c
9 changed files with 86 additions and 82 deletions

View File

@@ -22,7 +22,7 @@ class WildServiceImpl :
throw (RPCRequestException)
{
// requires NTURI as argument
if (pvArguments->getStructure()->getID() != "ev4:nt/NTURI:1.0")
if (pvArguments->getStructure()->getID() != "epics:nt/NTURI:1.0")
throw RPCRequestException(Status::STATUSTYPE_ERROR, "RPC argument must be a NTURI normative type");
std::string channelName = pvArguments->getSubField<PVString>("path")->get();