Container for folly::TcpInfoDispatcher.
Synopsis
Declared in <folly/net/TcpInfoDispatcher.h>
class TcpInfoDispatcherContainer;
Description
Enables overridden Dispatcher to be installed for tests and special cases. If no override is installed, returns default Dispatcher instance.
Member Functions
Name |
Description |
Return a TcpInfoDispatcher. |
|
Returns shared_ptr to the override TcpInfoDispatcher if installed, else returns empty ptr. |
|
Return a TcpInfoDispatcher. |
|
Sets override TcpInfoDispatcher. Pass empty shared_ptr to remove the override. |
Created with MrDocs