![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include "responseHandlers.h"
Public Types | |
typedef std::tr1::shared_ptr< ServerChannelPutGetRequesterImpl > | shared_pointer |
typedef std::tr1::shared_ptr< const ServerChannelPutGetRequesterImpl > | const_shared_pointer |
![]() | |
typedef ChannelPutGet | operation_type |
Public Member Functions | |
virtual | ~ServerChannelPutGetRequesterImpl () |
virtual void | channelPutGetConnect (const epics::pvData::Status &status, ChannelPutGet::shared_pointer const &channelPutGet, epics::pvData::Structure::const_shared_pointer const &putStructure, epics::pvData::Structure::const_shared_pointer const &getStructure) OVERRIDE FINAL |
virtual void | getGetDone (const epics::pvData::Status &status, ChannelPutGet::shared_pointer const &channelPutGet, epics::pvData::PVStructure::shared_pointer const &pvStructure, epics::pvData::BitSet::shared_pointer const &bitSet) OVERRIDE FINAL |
virtual void | getPutDone (const epics::pvData::Status &status, ChannelPutGet::shared_pointer const &channelPutGet, epics::pvData::PVStructure::shared_pointer const &pvStructure, epics::pvData::BitSet::shared_pointer const &bitSet) OVERRIDE FINAL |
virtual void | putGetDone (const epics::pvData::Status &status, ChannelPutGet::shared_pointer const &channelPutGet, epics::pvData::PVStructure::shared_pointer const &pvStructure, epics::pvData::BitSet::shared_pointer const &bitSet) OVERRIDE FINAL |
virtual void | destroy () OVERRIDE FINAL |
ChannelPutGet::shared_pointer | getChannelPutGet () |
virtual std::tr1::shared_ptr< ChannelRequest > | getOperation () OVERRIDE FINAL |
The Operation associated with this Requester, except for GetField and Monitor (which are special snowflakes...) More... | |
epics::pvData::PVStructure::shared_pointer | getPutGetPVStructure () |
epics::pvData::BitSet::shared_pointer | getPutGetBitSet () |
virtual void | send (epics::pvData::ByteBuffer *buffer, TransportSendControl *control) OVERRIDE FINAL |
![]() | |
POINTER_DEFINITIONS (BaseChannelRequester) | |
BaseChannelRequester (ServerContextImpl::shared_pointer const &context, std::tr1::shared_ptr< ServerChannel > const &channel, const pvAccessID ioid, Transport::shared_pointer const &transport) | |
virtual | ~BaseChannelRequester () |
bool | startRequest (epics::pvData::int32 qos) |
void | stopRequest () |
epics::pvData::int32 | getPendingRequest () |
virtual std::string | getRequesterName () OVERRIDE FINAL |
virtual void | message (std::string const &message, epics::pvData::MessageType messageType) OVERRIDE FINAL |
virtual void | stats (Stats &s) const OVERRIDE FINAL |
Query current counter values. More... | |
![]() | |
POINTER_DEFINITIONS (TransportSender) | |
TransportSender () | |
virtual | ~TransportSender () |
![]() | |
POINTER_DEFINITIONS (Lockable) | |
virtual | ~Lockable () |
virtual void | lock () |
virtual void | unlock () |
![]() | |
entry () | |
~entry () | |
![]() | |
virtual | ~NetStats () |
![]() | |
POINTER_DEFINITIONS (Destroyable) | |
![]() | |
POINTER_DEFINITIONS (ChannelPutGetRequester) | |
virtual | ~ChannelPutGetRequester () |
![]() | |
POINTER_DEFINITIONS (ChannelBaseRequester) | |
ChannelBaseRequester () | |
virtual | ~ChannelBaseRequester () |
virtual void | channelDisconnect (bool destroy) |
Static Public Member Functions | |
static ChannelPutGetRequester::shared_pointer | create (ServerContextImpl::shared_pointer const &context, std::tr1::shared_ptr< ServerChannel > const &channel, const pvAccessID ioid, Transport::shared_pointer const &transport, epics::pvData::PVStructure::shared_pointer const &pvRequest) |
![]() | |
static void | message (Transport::shared_pointer const &transport, const pvAccessID ioid, const std::string message, const epics::pvData::MessageType messageType) |
static void | sendFailureMessage (const epics::pvData::int8 command, Transport::shared_pointer const &transport, const pvAccessID ioid, const epics::pvData::int8 qos, const epics::pvData::Status status) |
Protected Member Functions | |
ServerChannelPutGetRequesterImpl (ServerContextImpl::shared_pointer const &context, std::tr1::shared_ptr< ServerChannel > const &channel, const pvAccessID ioid, Transport::shared_pointer const &transport) | |
void | activate (epics::pvData::PVStructure::shared_pointer const &pvRequest) |
![]() | |
virtual | ~Destroyable () |
Additional Inherited Members | |
![]() | |
size_t | bytesTX |
size_t | bytesRX |
![]() | |
static const epics::pvData::Status | okStatus = Status() |
static const epics::pvData::Status | badCIDStatus |
static const epics::pvData::Status | badIOIDStatus |
static const epics::pvData::Status | noReadACLStatus |
static const epics::pvData::Status | noWriteACLStatus |
static const epics::pvData::Status | noProcessACLStatus |
static const epics::pvData::Status | otherRequestPendingStatus |
static const epics::pvData::Status | notAChannelRequestStatus |
![]() | |
static size_t | num_instances |
![]() | |
const pvAccessID | _ioid |
const Transport::shared_pointer | _transport |
const std::tr1::shared_ptr< ServerChannel > | _channel |
epics::pvData::Mutex | _mutex |
Definition at line 400 of file responseHandlers.h.
typedef std::tr1::shared_ptr<const ServerChannelPutGetRequesterImpl> epics::pvAccess::ServerChannelPutGetRequesterImpl::const_shared_pointer |
Definition at line 407 of file responseHandlers.h.
typedef std::tr1::shared_ptr<ServerChannelPutGetRequesterImpl> epics::pvAccess::ServerChannelPutGetRequesterImpl::shared_pointer |
Definition at line 406 of file responseHandlers.h.
|
protected |
Definition at line 1570 of file responseHandlers.cpp.
|
inlinevirtual |
Definition at line 417 of file responseHandlers.h.
|
protected |
Definition at line 1586 of file responseHandlers.cpp.
|
virtual |
The client and server have both completed the createChannelPutGet request.
status | Completion status. |
channelPutGet | The channelPutGet interface or null if the request failed. |
putStructure | The put structure introspection data or nullptr if the request failed. |
getStructure | The get structure introspection data or nullptr if the request failed. |
Implements epics::pvAccess::ChannelPutGetRequester.
Definition at line 1594 of file responseHandlers.cpp.
|
static |
Definition at line 1576 of file responseHandlers.cpp.
|
virtual |
Destroy this instance.
Implements epics::pvAccess::Destroyable.
Definition at line 1669 of file responseHandlers.cpp.
ChannelPutGet::shared_pointer epics::pvAccess::ServerChannelPutGetRequesterImpl::getChannelPutGet | ( | ) |
Definition at line 1691 of file responseHandlers.cpp.
|
virtual |
The getGet request is done. This is always called with no locks held.
status | Completion status. |
channelPutGet | The channelPutGet interface. |
pvGetStructure | The PVStructure that holds the getData or nullptr if the request failed. |
getBitSet | getPVStructure changed bit-set or nullptr if the request failed. |
Implements epics::pvAccess::ChannelPutGetRequester.
Definition at line 1621 of file responseHandlers.cpp.
|
inlinevirtual |
The Operation associated with this Requester, except for GetField and Monitor (which are special snowflakes...)
Implements epics::pvAccess::BaseChannelRequester.
Definition at line 434 of file responseHandlers.h.
|
virtual |
The getPut request is done. This is always called with no locks held.
status | Completion status. |
channelPutGet | The channelPutGet interface. |
pvPutStructure | The PVStructure that holds the putData or nullptr if the request failed. |
putBitSet | putPVStructure changed bit-set or nullptr if the request failed. |
Implements epics::pvAccess::ChannelPutGetRequester.
Definition at line 1637 of file responseHandlers.cpp.
BitSet::shared_pointer epics::pvAccess::ServerChannelPutGetRequesterImpl::getPutGetBitSet | ( | ) |
Definition at line 1703 of file responseHandlers.cpp.
PVStructure::shared_pointer epics::pvAccess::ServerChannelPutGetRequesterImpl::getPutGetPVStructure | ( | ) |
Definition at line 1697 of file responseHandlers.cpp.
|
virtual |
The putGet request is done. This is always called with no locks held.
status | Completion status. |
channelPutGet | The channelPutGet interface. |
pvGetStructure | The PVStructure that holds the getData or nullptr if the request failed. |
getBitSet | getPVStructure changed bit-set or nullptr if the request failed. |
Implements epics::pvAccess::ChannelPutGetRequester.
Definition at line 1653 of file responseHandlers.cpp.
|
virtual |
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.
Implements epics::pvAccess::TransportSender.
Definition at line 1709 of file responseHandlers.cpp.