Contains a Unix domain socket path, as well as other socket options.
More...
#include <cppwamp/udspath.hpp>
Contains a Unix domain socket path, as well as other socket options.
- See also
- RawsockOptions, connector
◆ UdsPath()
Converting constructor taking a path name.
- Parameters
-
pathName | Path name of the Unix domain socket. |
options | Socket options. |
maxRxLength | Maximum inbound message length |
◆ withBroadcast()
UdsPath& wamp::UdsPath::withBroadcast |
( |
bool |
enabled = true | ) |
|
|
inline |
The following setters are deprecated.
Socket options should be passed via the constructor or set via UdsPath::withOptions. Adds the SO_BROADCAST socket option.
- Deprecated:
◆ withDebug()
UdsPath& wamp::UdsPath::withDebug |
( |
bool |
enabled = true | ) |
|
|
inline |
◆ withDoNotRoute()
UdsPath& wamp::UdsPath::withDoNotRoute |
( |
bool |
enabled = true | ) |
|
|
inline |
◆ withKeepAlive()
UdsPath& wamp::UdsPath::withKeepAlive |
( |
bool |
enabled = true | ) |
|
|
inline |
◆ withOutOfBandInline()
UdsPath& wamp::UdsPath::withOutOfBandInline |
( |
bool |
enabled | ) |
|
|
inline |
◆ withLinger()
UdsPath& wamp::UdsPath::withLinger |
( |
bool |
enabled, |
|
|
int |
timeout |
|
) |
| |
|
inline |
◆ withReceiveBufferSize()
UdsPath& wamp::UdsPath::withReceiveBufferSize |
( |
int |
size | ) |
|
|
inline |
◆ withReceiveLowWatermark()
UdsPath& wamp::UdsPath::withReceiveLowWatermark |
( |
int |
size | ) |
|
|
inline |
◆ withReuseAddress()
UdsPath& wamp::UdsPath::withReuseAddress |
( |
bool |
enabled = true | ) |
|
|
inline |
◆ withSendBufferSize()
UdsPath& wamp::UdsPath::withSendBufferSize |
( |
int |
size | ) |
|
|
inline |
◆ withSendLowWatermark()
UdsPath& wamp::UdsPath::withSendLowWatermark |
( |
int |
size | ) |
|
|
inline |
◆ connector()
template<typename TCodec >
Creates a Connector that can establish a Unix domain socket transport.
This overload takes an executor that is convertible to the boost::asio::any_io_executor polymorphic wrapper.
- Returns
- a
std::shared_ptr
to a Connector
- Template Parameters
-
TCodec | The serialization to use over this transport. |
- See also
- Connector, Json, Msgpack
- Parameters
-
exec | The executor to be used by the transport. |
path | Unix domain socket path and other socket options. |
The documentation for this class was generated from the following files: