#include <Protocol.h>
Public Member Functions | |
| unsigned long | operator() (Address const &a) const |
Definition at line 48 of file Protocol.h.
| 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;
}
1.7.0