3 //=============================================================================
5 * @file Multicast_Manager.h
7 * @author Douglas C. Schmidt
9 //=============================================================================
12 #ifndef _MULTICAST_MANAGER_H
13 #define _MULTICAST_MANAGER_H
16 #include "ace/os_include/netinet/os_in.h"
17 #include "ace/os_include/os_netdb.h"
22 const char *host_name
;
27 Host_Elem (const char *h_name
, Host_Elem
*n
);
31 * @class Multicast_Manager
33 * @brief This file handles all the operations upon host machines names
36 class Multicast_Manager
39 static void add_host (const char *host_name
);
40 static void checkoff_host (in_addr host_addr
);
41 static int get_next_host_addr (in_addr
&host_addr
);
42 static int outstanding_hosts_remain ();
43 static int get_next_non_responding_host (const char *&host_name
);
44 static int insert_hosts_from_file (const char *filename
);
45 static void insert_default_hosts ();
48 static hostent
*get_host_entry (const char *host
);
50 static int received_host_count
;
51 static const char *host_names
[];
52 static Host_Elem
*drwho_list
;
53 static Host_Elem
*current_ptr
;
56 #endif /* _MULTICAST_MANAGER_H */