#include "responseHandlers.h"
|
static ChannelProcessRequester::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) |
|
Definition at line 642 of file responseHandlers.h.
Definition at line 2536 of file responseHandlers.cpp.
BaseChannelRequester(ServerContextImpl::shared_pointer const &context, std::tr1::shared_ptr< ServerChannel > const &channel, const pvAccessID ioid, Transport::shared_pointer const &transport)
virtual epics::pvAccess::ServerChannelProcessRequesterImpl::~ServerChannelProcessRequesterImpl |
( |
| ) |
|
|
inlinevirtual |
void epics::pvAccess::ServerChannelProcessRequesterImpl::activate |
( |
epics::pvData::PVStructure::shared_pointer const & |
pvRequest | ) |
|
|
protected |
Definition at line 2554 of file responseHandlers.cpp.
const std::tr1::shared_ptr< ServerChannel > _channel
#define INIT_EXCEPTION_GUARD(cmd, var, code)
bool startRequest(epics::pvData::int32 qos)
std::tr1::shared_ptr< ServerChannelProcessRequesterImpl > shared_pointer
void epics::pvAccess::ServerChannelProcessRequesterImpl::channelProcessConnect |
( |
const epics::pvData::Status & |
status, |
|
|
ChannelProcess::shared_pointer const & |
channelProcess |
|
) |
| |
|
virtual |
The client and server have both completed the createChannelProcess request.
- Parameters
-
status | Completion status. |
channelProcess | The channelProcess interface or nullptr if the client could not become the record processor. |
Implements epics::pvAccess::ChannelProcessRequester.
Definition at line 2562 of file responseHandlers.cpp.
2567 _channelProcess = channelProcess;
2569 TransportSender::shared_pointer thisSender = shared_from_this();
epics::pvData::Mutex _mutex
A lock for multithreading.
virtual void destroy() OVERRIDE FINAL
const Transport::shared_pointer _transport
ChannelProcessRequester::shared_pointer epics::pvAccess::ServerChannelProcessRequesterImpl::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 |
Definition at line 2543 of file responseHandlers.cpp.
2549 ChannelProcessRequester::shared_pointer thisPointer = tp;
ServerChannelProcessRequesterImpl(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)
void epics::pvAccess::ServerChannelProcessRequesterImpl::destroy |
( |
| ) |
|
|
virtual |
Destroy this instance.
Implements epics::pvAccess::Destroyable.
Definition at line 2589 of file responseHandlers.cpp.
2600 if (_channelProcess.get())
2602 _channelProcess->destroy();
2606 _channelProcess.reset();
const std::tr1::shared_ptr< ServerChannel > _channel
epics::pvData::Mutex _mutex
A lock for multithreading.
std::tr1::shared_ptr< ServerChannelProcessRequesterImpl > shared_pointer
ChannelProcess::shared_pointer epics::pvAccess::ServerChannelProcessRequesterImpl::getChannelProcess |
( |
| ) |
|
virtual std::tr1::shared_ptr<ChannelRequest> epics::pvAccess::ServerChannelProcessRequesterImpl::getOperation |
( |
| ) |
|
|
inlinevirtual |
void epics::pvAccess::ServerChannelProcessRequesterImpl::processDone |
( |
const epics::pvData::Status & |
status, |
|
|
ChannelProcess::shared_pointer const & |
channelProcess |
|
) |
| |
|
virtual |
The process request is done. This is always called with no locks held.
- Parameters
-
status | Completion status. |
channelProcess | The channelProcess interface. |
Implements epics::pvAccess::ChannelProcessRequester.
Definition at line 2579 of file responseHandlers.cpp.
2585 TransportSender::shared_pointer thisSender = shared_from_this();
epics::pvData::Mutex _mutex
A lock for multithreading.
const Transport::shared_pointer _transport
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 2615 of file responseHandlers.cpp.
EPICS_ALWAYS_INLINE void putInt(int32 value)
epics::pvData::Mutex _mutex
A lock for multithreading.
virtual void destroy() OVERRIDE FINAL
void serialize(ByteBuffer *buffer, SerializableControl *flusher) const
EPICS_ALWAYS_INLINE void putByte(int8 value)
epics::pvData::int32 getPendingRequest()
virtual void startMessage(epics::pvData::int8 command, std::size_t ensureCapacity, epics::pvData::int32 payloadSize=0)=0
The documentation for this class was generated from the following files: