CCF
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
asynchost::ConnIDGenerator Class Reference

#include <rpc_connections.h>

Public Types

using ConnID = int64_t
 This is the same as ccf::tls::ConnID and udp::ConnID.
 

Public Member Functions

 ConnIDGenerator ()
 
template<class T >
ConnID get_next_id (T &sockets)
 

Detailed Description

Generates next ID, passed as an argument to RPCConnectionsImpl so that we can have multiple and avoid reusing the same ConnID across each.

Member Typedef Documentation

◆ ConnID

This is the same as ccf::tls::ConnID and udp::ConnID.

Constructor & Destructor Documentation

◆ ConnIDGenerator()

asynchost::ConnIDGenerator::ConnIDGenerator ( )
inline

Member Function Documentation

◆ get_next_id()

template<class T >
ConnID asynchost::ConnIDGenerator::get_next_id ( T &  sockets)
inline

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