pvAccessCPP
7.1.7
|
A request that expects an response. More...
#include <remote/pv/remote.h>
Public Types | |
typedef std::tr1::shared_ptr < ResponseRequest > | shared_pointer |
typedef std::tr1::shared_ptr < const ResponseRequest > | const_shared_pointer |
typedef std::tr1::weak_ptr < ResponseRequest > | weak_pointer |
typedef std::tr1::weak_ptr < const ResponseRequest > | const_weak_pointer |
Public Member Functions | |
virtual pvAccessID | getIOID () const =0 |
Get I/O ID. More... | |
virtual void | timeout ()=0 |
Timeout notification. | |
virtual void | cancel ()=0 |
Cancel response request (always to be called to complete/destroy). | |
virtual void | reportStatus (Channel::ConnectionState status)=0 |
Report status to clients (e.g. More... | |
virtual std::tr1::shared_ptr < ChannelBaseRequester > | getRequester ()=0 |
used by MessageHandler and reportChannelStateChange(). More... | |
virtual void | response (Transport::shared_pointer const &transport, epics::pvData::int8 version, epics::pvData::ByteBuffer *payloadBuffer)=0 |
Notification response. More... | |
virtual void | send (epics::pvData::ByteBuffer *buffer, TransportSendControl *control)=0 |
Called by transport. More... | |
virtual void | lock () |
virtual void | unlock () |
Public Attributes | |
size_t | bytesTX |
size_t | bytesRX |
A request that expects an response.
Responses identified by its I/O ID.
|
pure virtual |
Get I/O ID.
|
pure virtual |
used by MessageHandler and reportChannelStateChange().
May return NULL
|
pure virtual |
Report status to clients (e.g.
disconnected).
status | to report. |
|
pure virtual |
Notification response.
transport | |
version | |
payloadBuffer |
|
pure virtualinherited |
Called by transport.
By this call transport gives callee ownership over the buffer. Calls on TransportSendControl
instance must be made from calling thread. Moreover, ownership is valid only for the time of call of this method. NOTE: these limitations allow efficient implementation.
Implemented in epics::pvAccess::BeaconEmitter.