drop deprecated

This commit is contained in:
Michael Davidsaver
2017-12-29 12:03:06 -06:00
parent 49b2507985
commit d33356ced6
12 changed files with 2 additions and 137 deletions

View File

@@ -58,19 +58,6 @@ public:
~RPCClient() {destroy();}
/**
* Performs complete blocking RPC call, opening a channel and connecting to the
* service and sending the request.
*
* @param serviceName the name of the service to connect to
* @param request the request sent to the service
* @param timeout the timeout (in seconds), 0 means forever.
* @return the result of the RPC call.
* @throws RPCRequestException exception thrown on error on timeout.
*/
static epics::pvData::PVStructure::shared_pointer sendRequest(const std::string & serviceName,
epics::pvData::PVStructure::shared_pointer const &request, double timeOut = RPCCLIENT_DEFAULT_TIMEOUT) EPICS_DEPRECATED;
/**

View File

@@ -269,13 +269,5 @@ RPCClient::shared_pointer RPCClient::create(const std::string & serviceName,
return RPCClient::shared_pointer(new RPCClient(serviceName, pvRequest));
}
pvd::PVStructure::shared_pointer RPCClient::sendRequest(const std::string & serviceName,
pvd::PVStructure::shared_pointer const & queryRequest,
double timeOut)
{
RPCClient client(serviceName, queryRequest);
return client.request(queryRequest, timeOut);
}
}}// namespace epics::pvAccess