pvAccessCPP  7.1.5
Public Member Functions | Public Attributes | List of all members
epics::pvAccess::TransportSender Class Referenceabstract

Interface defining transport sender (instance sending data over transport). More...

#include <remote/pv/remote.h>

Inheritance diagram for epics::pvAccess::TransportSender:
Inheritance graph

Public Member Functions

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

Detailed Description

Interface defining transport sender (instance sending data over transport).

Definition at line 139 of file remote.h.

Member Function Documentation

◆ send()

virtual void epics::pvAccess::TransportSender::send ( epics::pvData::ByteBuffer *  buffer,
TransportSendControl control 
pure 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.

Implemented in epics::pvAccess::BeaconEmitter.

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