Interface defining transport (connection).
More...
#include <remote/pv/remote.h>
Inherits DeserializableControl.
Inherited by epics::pvAccess::BlockingUDPTransport, and epics::pvAccess::detail::AbstractCodec.
|
typedef std::tr1::shared_ptr
< Transport > | shared_pointer |
|
typedef std::tr1::shared_ptr
< const Transport > | const_shared_pointer |
|
typedef std::tr1::weak_ptr
< Transport > | weak_pointer |
|
typedef std::tr1::weak_ptr
< const Transport > | const_weak_pointer |
|
|
size_t | _totalBytesSent |
|
size_t | _totalBytesRecv |
|
|
static size_t | num_instances |
|
Interface defining transport (connection).
Definition at line 166 of file remote.h.
virtual bool epics::pvAccess::Transport::acquire |
( |
std::tr1::shared_ptr< ClientChannelImpl > const & |
client | ) |
|
|
pure virtual |
Acquires transport.
- Parameters
-
client | client (channel) acquiring the transport |
- Returns
true
if transport was granted, false
otherwise.
virtual void epics::pvAccess::Transport::authNZMessage |
( |
epics::pvData::PVStructure::shared_pointer const & |
data | ) |
|
|
pure virtual |
Pass data to the active security plug-in session.
- Parameters
-
data | the data (any data), can be null . |
virtual void epics::pvAccess::Transport::enqueueSendRequest |
( |
TransportSender::shared_pointer const & |
sender | ) |
|
|
pure virtual |
Enqueue send request.
- Parameters
-
virtual epics::pvData::int16 epics::pvAccess::Transport::getPriority |
( |
| ) |
const |
|
pure virtual |
Transport priority.
- Returns
- protocol priority.
virtual std::size_t epics::pvAccess::Transport::getReceiveBufferSize |
( |
| ) |
const |
|
pure virtual |
Get receive buffer size.
- Returns
- receive buffer size.
virtual std::string epics::pvAccess::Transport::getType |
( |
| ) |
const |
|
pure virtual |
Get protocol type (tcp, udp, ssl, etc.).
- Returns
- protocol type.
virtual bool epics::pvAccess::Transport::isClosed |
( |
| ) |
|
|
pure virtual |
Check connection status.
- Returns
true
if connected.
virtual void epics::pvAccess::Transport::release |
( |
pvAccessID |
clientId | ) |
|
|
pure virtual |
Releases transport.
- Parameters
-
client | client (channel) releasing the transport |
virtual void epics::pvAccess::Transport::setByteOrder |
( |
int |
byteOrder | ) |
|
|
pure virtual |
Set byte order.
- Parameters
-
byteOrder | byte order to set. |
virtual void epics::pvAccess::Transport::setRemoteTransportReceiveBufferSize |
( |
std::size_t |
receiveBufferSize | ) |
|
|
pure virtual |
Set remote transport receive buffer size.
- Parameters
-
receiveBufferSize | receive buffer size. |
virtual void epics::pvAccess::Transport::setRemoteTransportSocketReceiveBufferSize |
( |
std::size_t |
socketReceiveBufferSize | ) |
|
|
pure virtual |
Set remote transport socket receive buffer size.
- Parameters
-
socketReceiveBufferSize | remote socket receive buffer size. |
virtual void epics::pvAccess::Transport::verified |
( |
epics::pvData::Status const & |
status | ) |
|
|
pure virtual |
Notify transport that it is has been verified.
- Parameters
-
status | vefification status; |
virtual bool epics::pvAccess::Transport::verify |
( |
epics::pvData::int32 |
timeoutMs | ) |
|
|
pure virtual |
Waits (if needed) until transport is verified, i.e.
verified() method is being called.
- Parameters
-
timeoutMs | timeout to wait for verification, infinite if 0. |
The documentation for this class was generated from the following file: