proxygen
wangle::LoadShedConfiguration::AddressOnlyCompare Struct Reference

#include <LoadShedConfiguration.h>

Public Member Functions

bool operator() (const folly::SocketAddress &addr1, const folly::SocketAddress &addr2) const
 

Detailed Description

Definition at line 37 of file LoadShedConfiguration.h.

Member Function Documentation

bool wangle::LoadShedConfiguration::AddressOnlyCompare::operator() ( const folly::SocketAddress addr1,
const folly::SocketAddress addr2 
) const
inline

Definition at line 38 of file LoadShedConfiguration.h.

References folly::SocketAddress::getIPAddress().

40  {
41  return addr1.getIPAddress() < addr2.getIPAddress();
42  }
const folly::IPAddress & getIPAddress() const

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