![]() |
This is Unofficial EPICS BASE Doxygen Site
|
#include "remote.h"
Inheritance diagram for epics::pvAccess::Transport:
Collaboration diagram for epics::pvAccess::Transport:Public Member Functions | |
| POINTER_DEFINITIONS (Transport) | |
| Transport () | |
| virtual | ~Transport () |
| virtual bool | acquire (std::tr1::shared_ptr< ClientChannelImpl > const &client)=0 |
| virtual void | release (pvAccessID clientId)=0 |
| virtual std::string | getType () const =0 |
| virtual const osiSockAddr & | getRemoteAddress () const =0 |
| virtual const std::string & | getRemoteName () const =0 |
| virtual std::size_t | getReceiveBufferSize () const =0 |
| virtual epics::pvData::int16 | getPriority () const =0 |
| virtual void | setRemoteTransportReceiveBufferSize (std::size_t receiveBufferSize)=0 |
| virtual void | setRemoteTransportSocketReceiveBufferSize (std::size_t socketReceiveBufferSize)=0 |
| virtual void | setByteOrder (int byteOrder)=0 |
| virtual void | enqueueSendRequest (TransportSender::shared_pointer const &sender)=0 |
| virtual void | flushSendQueue ()=0 |
| virtual void | verified (epics::pvData::Status const &status)=0 |
| virtual bool | verify (epics::pvData::int32 timeoutMs)=0 |
| virtual void | close ()=0 |
| virtual void | waitJoin () |
| Call after close() to wait for any worker threads to exit. More... | |
| virtual bool | isClosed ()=0 |
| virtual void | authNZMessage (epics::pvData::PVStructure::shared_pointer const &data)=0 |
Public Member Functions inherited from epics::pvData::DeserializableControl | |
| virtual | ~DeserializableControl () |
| virtual void | ensureData (std::size_t size)=0 |
| virtual void | alignData (std::size_t alignment)=0 |
| virtual bool | directDeserialize (ByteBuffer *existingBuffer, char *deserializeTo, std::size_t elementCount, std::size_t elementSize)=0 |
| virtual std::tr1::shared_ptr< const Field > | cachedDeserialize (ByteBuffer *buffer)=0 |
Public Attributes | |
| size_t | _totalBytesSent |
| size_t | _totalBytesRecv |
Static Public Attributes | |
| static size_t | num_instances |
|
pure virtual |
Acquires transport.
| client | client (channel) acquiring the transport |
true if transport was granted, false otherwise. Implemented in epics::pvAccess::detail::BlockingClientTCPTransportCodec, epics::pvAccess::detail::BlockingServerTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Pass data to the active security plug-in session.
| data | the data (any data), can be null. |
Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Close transport.
Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Enqueue send request.
| sender |
Implemented in epics::pvAccess::detail::AbstractCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Flush send queue (sent messages).
Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Transport priority.
Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Get receive buffer size.
Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Get protocol type (tcp, udp, ssl, etc.).
Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Check connection status.
true if connected. Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
| epics::pvAccess::Transport::POINTER_DEFINITIONS | ( | Transport | ) |
|
pure virtual |
Releases transport.
| client | client (channel) releasing the transport |
Implemented in epics::pvAccess::detail::BlockingClientTCPTransportCodec, epics::pvAccess::detail::BlockingServerTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Set byte order.
| byteOrder | byte order to set. |
Implemented in epics::pvAccess::detail::AbstractCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Set remote transport receive buffer size.
| receiveBufferSize | receive buffer size. |
Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Set remote transport socket receive buffer size.
| socketReceiveBufferSize | remote socket receive buffer size. |
Implemented in epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Notify transport that it is has been verified.
| status | vefification status; |
Implemented in epics::pvAccess::detail::BlockingClientTCPTransportCodec, epics::pvAccess::detail::BlockingServerTCPTransportCodec, epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
pure virtual |
Waits (if needed) until transport is verified, i.e. verified() method is being called.
| timeoutMs | timeout to wait for verification, infinite if 0. |
Implemented in epics::pvAccess::detail::BlockingServerTCPTransportCodec, epics::pvAccess::detail::BlockingTCPTransportCodec, and epics::pvAccess::BlockingUDPTransport.
|
inlinevirtual |
Call after close() to wait for any worker threads to exit.
Reimplemented in epics::pvAccess::detail::BlockingTCPTransportCodec.