proxygen
folly::AsyncSocket::ImmediateReadCB Class Reference

#include <AsyncSocket.h>

Inheritance diagram for folly::AsyncSocket::ImmediateReadCB:
folly::EventBase::LoopCallback

Public Member Functions

 ImmediateReadCB (AsyncSocket *socket)
 
void runLoopCallback () noexceptoverride
 
- Public Member Functions inherited from folly::EventBase::LoopCallback
virtual ~LoopCallback ()=default
 
void cancelLoopCallback ()
 
bool isLoopCallbackScheduled () const
 

Private Attributes

AsyncSocketsocket_
 

Detailed Description

Definition at line 1015 of file AsyncSocket.h.

Constructor & Destructor Documentation

folly::AsyncSocket::ImmediateReadCB::ImmediateReadCB ( AsyncSocket socket)
inlineexplicit

Definition at line 1017 of file AsyncSocket.h.

1017 : socket_(socket) {}
NetworkSocket socket(int af, int type, int protocol)
Definition: NetOps.cpp:412

Member Function Documentation

void folly::AsyncSocket::ImmediateReadCB::runLoopCallback ( )
inlineoverridevirtualnoexcept

Implements folly::EventBase::LoopCallback.

Definition at line 1018 of file AsyncSocket.h.

References socket_.

1018  {
1019  DestructorGuard dg(socket_);
1021  }
virtual void checkForImmediateRead() noexcept

Member Data Documentation

AsyncSocket* folly::AsyncSocket::ImmediateReadCB::socket_
private

Definition at line 1024 of file AsyncSocket.h.


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