CCF
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
asynchost Namespace Reference

Classes

class  AfterIO
 
class  BeforeIO
 
class  close_ptr
 
class  ConnIDGenerator
 
class  DNS
 
class  EveryIO
 
class  HandleRingbufferImpl
 
class  Ledger
 
class  LedgerFile
 
struct  LedgerReadResult
 
struct  LFSFileHandler
 
class  NodeConnections
 
class  proxy_ptr
 
class  ResetTCPReadQuotaImpl
 
class  ResetUDPReadQuotaImpl
 
class  RPCConnectionsImpl
 
class  ShutdownSignalImpl
 
class  Signal
 
class  SocketBehaviour
 Callback service for user-specific behaviour for TCP and UDP connections. More...
 
class  TCPImpl
 
class  TickerImpl
 
struct  TimeBoundLogger
 
class  Timer
 
class  UDPImpl
 
class  with_uv_handle
 

Typedefs

using HandleRingbuffer = proxy_ptr< Timer< HandleRingbufferImpl > >
 
template<class ConnType >
using RPCConnections = proxy_ptr< Timer< RPCConnectionsImpl< ConnType > > >
 
using Sigterm = proxy_ptr< Signal< SIGTERM, ShutdownSignalImpl > >
 
using Sighup = proxy_ptr< Signal< SIGHUP, ShutdownSignalImpl > >
 
using TCP = proxy_ptr< TCPImpl >
 
using ResetTCPReadQuota = proxy_ptr< BeforeIO< ResetTCPReadQuotaImpl > >
 
using Ticker = proxy_ptr< Timer< TickerImpl > >
 
using UDP = proxy_ptr< UDPImpl >
 
using ResetUDPReadQuota = proxy_ptr< BeforeIO< ResetUDPReadQuotaImpl > >
 

Functions

std::pair< std::string, std::string > addr_to_str (const sockaddr *addr, int address_family=AF_INET)
 

Typedef Documentation

◆ HandleRingbuffer

◆ ResetTCPReadQuota

◆ ResetUDPReadQuota

◆ RPCConnections

template<class ConnType >
using asynchost::RPCConnections = typedef proxy_ptr<Timer<RPCConnectionsImpl<ConnType> >>

◆ Sighup

◆ Sigterm

◆ TCP

using asynchost::TCP = typedef proxy_ptr<TCPImpl>

◆ Ticker

◆ UDP

using asynchost::UDP = typedef proxy_ptr<UDPImpl>

Function Documentation

◆ addr_to_str()

std::pair< std::string, std::string > asynchost::addr_to_str ( const sockaddr *  addr,
int  address_family = AF_INET 
)
inline