implements a client-side transport that can be paired with another
More...
#include <daemon/face/internal-transport.hpp>
implements a client-side transport that can be paired with another
Definition at line 81 of file internal-transport.hpp.
void nfd::face::InternalClientTransport::close |
( |
| ) |
|
|
inlineoverride |
connect to a forwarder-side transport
- Parameters
-
forwarderTransport | the forwarder-side transport to connect to; may be nullptr |
The connected forwarder-side transport will be disconnected automatically if this method is called again, or if that transport is closed. It's safe to use InternalClientTransport without a connected forwarder-side transport: all sent packets would be lost, and nothing would be received.
Definition at line 85 of file internal-transport.cpp.
void nfd::face::InternalClientTransport::pause |
( |
| ) |
|
|
inlineoverride |
void nfd::face::InternalClientTransport::receiveFromLink |
( |
const Block & |
packet | ) |
|
|
overridevirtual |
void nfd::face::InternalClientTransport::resume |
( |
| ) |
|
|
inlineoverride |
void nfd::face::InternalClientTransport::send |
( |
const Block & |
wire | ) |
|
|
override |
void nfd::face::InternalClientTransport::send |
( |
const Block & |
header, |
|
|
const Block & |
payload |
|
) |
| |
|
override |