drop deprecated
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user