|
iceoryx2
C++ Language Bindings
|
#include <server.hpp>
Public Member Functions | |
| Server (Server &&rhs) noexcept | |
| auto | operator= (Server &&rhs) noexcept -> Server & |
| ~Server () noexcept | |
| Server (const Server &) noexcept=delete | |
| auto | operator= (const Server &) noexcept -> Server &=delete |
| auto | receive () -> bb::Expected< bb::Optional< ActiveRequest< Service, RequestPayload, RequestHeader, ResponsePayload, ResponseHeader > >, ReceiveError > |
| template<typename T = ResponsePayload, typename = std::enable_if_t<bb::IsSlice<T>::VALUE, void>> | |
| auto | initial_max_slice_len () const -> uint64_t |
Returns the maximum initial slice length configured for this [Server]. | |
| auto | id () const -> UniqueServerId |
Returns the [UniqueServerId] of the [Server]. | |
| auto | has_requests () const -> bb::Expected< bool, ConnectionFailure > |
Returns true if the [Server] has [RequestMut]s in its buffer. | |
Friends | |
| template<ServiceType , typename , typename , typename , typename > | |
| class | PortFactoryServer |
Receives [RequestMut] from a [Client] and responds with [Response] by using an [ActiveRequest].
Definition at line 31 of file server.hpp.
|
inlinenoexcept |
Definition at line 73 of file server.hpp.
|
inlinenoexcept |
Definition at line 99 of file server.hpp.
|
deletenoexcept |
|
inline |
Returns true if the [Server] has [RequestMut]s in its buffer.
Definition at line 156 of file server.hpp.
References iox2::bb::err().
|
inline |
Returns the [UniqueServerId] of the [Server].
Definition at line 144 of file server.hpp.
|
inline |
Returns the maximum initial slice length configured for this [Server].
Definition at line 134 of file server.hpp.
|
deletenoexcept |
|
inlinenoexcept |
Definition at line 83 of file server.hpp.
|
inline |
Receives a [RequestMut] that was sent by a [Client] and returns an [ActiveRequest] which can be used to respond. If no [RequestMut]s were received it returns [None].
Definition at line 108 of file server.hpp.
References iox2::bb::err(), and iox2::bb::NULLOPT.
|
friend |
Definition at line 59 of file server.hpp.