NAME

ACE_Hash_Addr - Internal class to compute hash values on addresses in ACE_Cached_Connect_Strategy.

SYNOPSIS

#include <ace/ACE_Strategies_T.h>

template<class ADDR_T> class ACE_Hash_Addr { public: ACE_Hash_Addr (void); ACE_Hash_Addr (const ADDR_T &a); ~ACE_Hash_Addr (void); u_long hash (void) const; int operator== (const ACE_Hash_Addr<ADDR_T> &rhs) const; private: u_long hash_i (const ADDR_T &) const; u_long hash_value_; ADDR_T addr_; };

DESCRIPTION

This class provides a strategy that suspends and resumes all the Event_Handlers in a Reactor in one fell swoop.

Initialization methods.

ACE_Hash_Addr (void);

ACE_Hash_Addr (const ADDR_T &a);

~ACE_Hash_Addr (void);

u_long hash (void) const;

int operator== (const ACE_Hash_Addr<ADDR_T> &rhs) const;

AUTHOR

Doug Schmidt

Initialization and termination methods.

Scheduling methods

LIBRARY

ace