Seastar
High performance C++ framework for concurrent servers
Public Member Functions | Public Attributes | List of all members
seastar::rpc::protocol< Serializer, MsgType >::server Class Reference

Detailed Description

template<typename Serializer, typename MsgType = uint32_t>
class seastar::rpc::protocol< Serializer, MsgType >::server

Represents the listening port and all accepted connections.

#include <seastar/rpc/rpc.hh>

Inheritance diagram for seastar::rpc::protocol< Serializer, MsgType >::server:
seastar::rpc::server

Public Member Functions

 server (protocol &proto, const socket_address &addr, resource_limits memory_limit=resource_limits())
 
 server (protocol &proto, server_options opts, const socket_address &addr, resource_limits memory_limit=resource_limits())
 
 server (protocol &proto, server_socket socket, resource_limits memory_limit=resource_limits(), server_options opts=server_options{})
 
 server (protocol &proto, server_options opts, server_socket socket, resource_limits memory_limit=resource_limits())
 
void accept ()
 
future stop ()
 
template<typename Func >
void foreach_connection (Func &&f)
 
gatereply_gate ()
 

Public Attributes

friend connection
 
friend client
 

The documentation for this class was generated from the following file: