#include <IRpcTransport.h>
|
| virtual | ~IRpcTransport ()=default |
| |
| virtual Bytes | SendReceive (const profinet::Bytes &request, std::chrono::milliseconds timeout)=0 |
| |
| virtual void | Send (const Bytes &request)=0 |
| |
| virtual void | Open (const std::string &address, std::uint16_t port, bool isListener=false)=0 |
| | Open the transport and configure the remote endpoint.
|
| |
| virtual Bytes | Receive (std::chrono::milliseconds timeout, asio::ip::udp::endpoint &remoteEndpoint)=0 |
| | Wait for an incoming byte array and capture the sender's endpoint.
|
| |
| virtual void | SendTo (const Bytes &data, const asio::ip::udp::endpoint &targetEndpoint)=0 |
| | Send a byte array of data to a specific remote asio endpoint.
|
| |
| virtual void | Close () noexcept=0 |
| | Close the transport.
|
| |
Definition at line 7 of file IRpcTransport.h.
◆ ~IRpcTransport()
| virtual profinet::rpc::IRpcTransport::~IRpcTransport |
( |
| ) |
|
|
virtualdefault |
◆ Close()
| virtual void profinet::rpc::IRpcTransport::Close |
( |
| ) |
|
|
pure virtualnoexcept |
◆ Open()
| virtual void profinet::rpc::IRpcTransport::Open |
( |
const std::string & |
address, |
|
|
std::uint16_t |
port, |
|
|
bool |
isListener = false |
|
) |
| |
|
pure virtual |
◆ Receive()
| virtual Bytes profinet::rpc::IRpcTransport::Receive |
( |
std::chrono::milliseconds |
timeout, |
|
|
asio::ip::udp::endpoint & |
remoteEndpoint |
|
) |
| |
|
pure virtual |
◆ Send()
| virtual void profinet::rpc::IRpcTransport::Send |
( |
const Bytes & |
request | ) |
|
|
pure virtual |
◆ SendReceive()
| virtual Bytes profinet::rpc::IRpcTransport::SendReceive |
( |
const profinet::Bytes & |
request, |
|
|
std::chrono::milliseconds |
timeout |
|
) |
| |
|
pure virtual |
◆ SendTo()
| virtual void profinet::rpc::IRpcTransport::SendTo |
( |
const Bytes & |
data, |
|
|
const asio::ip::udp::endpoint & |
targetEndpoint |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following file: