Seastar
High performance C++ framework for concurrent servers
|
Public Member Functions | |
posix_network_stack (const program_options::option_group &opts, std::pmr::polymorphic_allocator< char > *allocator=memory::malloc_allocator) | |
virtual server_socket | listen (socket_address sa, listen_options opts) override |
virtual ::seastar::socket | socket () override |
virtual net::udp_channel | make_udp_channel (const socket_address &) override |
virtual net::datagram_channel | make_unbound_datagram_channel (sa_family_t) override |
virtual net::datagram_channel | make_bound_datagram_channel (const socket_address &local) override |
virtual bool | has_per_core_namespace () override |
bool | supports_ipv6 () const override |
std::vector< network_interface > | network_interfaces () override |
future< connected_socket > | connect (socket_address sa, socket_address={}, transport proto=transport::TCP) |
virtual future | initialize () |
Static Public Member Functions | |
static future< std::unique_ptr< network_stack > > | create (const program_options::option_group &opts, std::pmr::polymorphic_allocator< char > *allocator=memory::malloc_allocator) |
Protected Attributes | |
std::pmr::polymorphic_allocator< char > * | _allocator |
|
inlineoverridevirtual |
Implements seastar::network_stack.
|
overridevirtual |
Implements seastar::network_stack.
|
overridevirtual |
Implements seastar::network_stack.
|
overridevirtual |
Implements seastar::network_stack.
|
overridevirtual |
Implements seastar::network_stack.
|
overridevirtual |
Returns available network interfaces. This represents a snapshot of interfaces available at call time, hence the return by value.
Reimplemented from seastar::network_stack.
|
overridevirtual |
Implements seastar::network_stack.
|
overridevirtual |
Reimplemented from seastar::network_stack.