pvAccessCPP  7.1.6
Public Types | Public Member Functions | Static Public Attributes | List of all members
epics::pvAccess::ChannelRPCRequester Class Referenceabstract

Notifications associated with Channel::createChannelRPC() More...

#include <client/pv/pvAccess.h>

Inheritance diagram for epics::pvAccess::ChannelRPCRequester:
Inheritance graph
[legend]
Collaboration diagram for epics::pvAccess::ChannelRPCRequester:
Collaboration graph
[legend]

Public Types

typedef ChannelRPC operation_type
 

Public Member Functions

 POINTER_DEFINITIONS (ChannelRPCRequester)
 
virtual void channelRPCConnect (const epics::pvData::Status &status, ChannelRPC::shared_pointer const &operation)=0
 RPC creation request satisfied. More...
 
virtual void requestDone (const epics::pvData::Status &status, ChannelRPC::shared_pointer const &operation, epics::pvData::PVStructure::shared_pointer const &pvResponse)=0
 RPC request (execution) completed. More...
 
 POINTER_DEFINITIONS (ChannelBaseRequester)
 
virtual void channelDisconnect (bool destroy)
 Notification when underlying Channel becomes DISCONNECTED or DESTORYED. More...
 

Static Public Attributes

static size_t num_instances
 

Detailed Description

Notifications associated with Channel::createChannelRPC()

No locks may be held while calling these methods.

Definition at line 813 of file pvAccess.h.

Member Function Documentation

◆ channelDisconnect()

virtual void epics::pvAccess::ChannelBaseRequester::channelDisconnect ( bool  destroy)
inlinevirtualinherited

Notification when underlying Channel becomes DISCONNECTED or DESTORYED.

(re)connection is notified through a sub-class *Connect() method.

Any in-progress get()/put()/request()/start() is implicitly cancel()'d or stop()'d before this method is called.

Ownership of any PVStructures passed to completion callbacks (eg. ChannelGetRequester::getDone() ) is returned the operation

Parameters
destroytrue for final disconnect.

Definition at line 198 of file pvAccess.h.

◆ channelRPCConnect()

virtual void epics::pvAccess::ChannelRPCRequester::channelRPCConnect ( const epics::pvData::Status &  status,
ChannelRPC::shared_pointer const &  operation 
)
pure virtual

RPC creation request satisfied.

Must check status.isOk().

On Success, a non-NULL 'operation' is provided. This is the same pointer which was, or will be, returned from Channel::createChannelRPC().

It is allowed to call ChannelRPC::request() from within this method.

◆ requestDone()

virtual void epics::pvAccess::ChannelRPCRequester::requestDone ( const epics::pvData::Status &  status,
ChannelRPC::shared_pointer const &  operation,
epics::pvData::PVStructure::shared_pointer const &  pvResponse 
)
pure virtual

RPC request (execution) completed.

Must check status.isOk().

On Success, a non-NULL 'pvResponse' is provided.

It is allowed to call ChannelRPC::request() from within this method.


The documentation for this class was generated from the following file: