Bitcoin Core 31.99.0
P2P Digital Currency
Public Attributes | List of all members
http_bitcoin::HTTPServer::IOReadiness Struct Reference

Info about which socket has which event ready and a reverse map back to the HTTPRemoteClient that owns the socket. More...

Public Attributes

Sock::EventsPerSock events_per_sock
 Map of socket -> socket events. More...
 
std::unordered_map< Sock::EventsPerSock::key_type, std::shared_ptr< HTTPRemoteClient >, Sock::HashSharedPtrSock, Sock::EqualSharedPtrSockhttpclients_per_sock
 Map of socket -> HTTPRemoteClient. More...
 

Detailed Description

Info about which socket has which event ready and a reverse map back to the HTTPRemoteClient that owns the socket.

Definition at line 333 of file httpserver.h.

Member Data Documentation

◆ events_per_sock

Sock::EventsPerSock http_bitcoin::HTTPServer::IOReadiness::events_per_sock

Map of socket -> socket events.

For example: socket1 -> { requested = SEND|RECV, occurred = RECV } socket2 -> { requested = SEND, occurred = SEND }

Definition at line 339 of file httpserver.h.

◆ httpclients_per_sock

std::unordered_map<Sock::EventsPerSock::key_type, std::shared_ptr<HTTPRemoteClient>, Sock::HashSharedPtrSock, Sock::EqualSharedPtrSock> http_bitcoin::HTTPServer::IOReadiness::httpclients_per_sock

Map of socket -> HTTPRemoteClient.

For example: socket1 -> HTTPRemoteClient{ id=23 } socket2 -> HTTPRemoteClient{ id=56 }

Definition at line 350 of file httpserver.h.


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