Public Member Functions

ACE_RMCast::AddressHasher Struct Reference

#include <Protocol.h>

List of all members.

Public Member Functions

unsigned long operator() (Address const &a) const

Detailed Description

Definition at line 48 of file Protocol.h.


Member Function Documentation

unsigned long ACE_RMCast::AddressHasher::operator() ( Address const &  a  )  const [inline]

Definition at line 51 of file Protocol.h.

    {
      unsigned long port (a.get_port_number ());
      unsigned long ip (a.get_ip_address ());

      port <<= sizeof (unsigned long) - sizeof (unsigned short);

      return port ^ ip;
    }


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines