Replace deprecated "Service" with RPCServiceAsync

MD removed the typedef that equated the two from pvAccessCPP recently.
This commit is contained in:
Andrew Johnson
2018-02-05 17:10:20 -06:00
parent e0cb7d7f93
commit 2469fc04b5
2 changed files with 5 additions and 5 deletions

View File

@ -112,10 +112,10 @@ public:
* @param pvRequest The request PVStructure
* @return The corresponding service
*/
virtual epics::pvAccess::Service::shared_pointer getService(
virtual epics::pvAccess::RPCServiceAsync::shared_pointer getService(
epics::pvData::PVStructurePtr const & pvRequest)
{
return epics::pvAccess::Service::shared_pointer();
return epics::pvAccess::RPCServiceAsync::shared_pointer();
}
/**
* @brief Creates a <b>soft</b> record.

View File

@ -691,7 +691,7 @@ public:
ChannelRPCLocal(
ChannelLocalPtr const & channelLocal,
ChannelRPCRequester::shared_pointer const & channelRPCRequester,
Service::shared_pointer const & service,
RPCServiceAsync::shared_pointer const & service,
PVRecordPtr const & pvRecord) :
channelLocal(channelLocal),
channelRPCRequester(channelRPCRequester),
@ -752,7 +752,7 @@ private:
ChannelLocalPtr channelLocal;
ChannelRPCRequester::weak_pointer channelRPCRequester;
Service::shared_pointer service;
RPCServiceAsync::shared_pointer service;
PVRecordPtr pvRecord;
AtomicBoolean isLastRequest;
};
@ -763,7 +763,7 @@ ChannelRPCLocalPtr ChannelRPCLocal::create(
PVStructurePtr const & pvRequest,
PVRecordPtr const &pvRecord)
{
Service::shared_pointer service = pvRecord->getService(pvRequest);
RPCServiceAsync::shared_pointer service = pvRecord->getService(pvRequest);
if (!service)
{
Status status(Status::STATUSTYPE_ERROR,