#include <AddressServer.h>
Public Member Functions | |
AddressServer (u_short port=ACE_DEFAULT_MULTICAST_PORT, const char *mcast_addr=ACE_DEFAULT_MULTICAST_ADDR, const char *mcast_iface=NULL) | |
AddressServer (const ACE_INET_Addr &mcast_addr, const char *mcast_iface=NULL) | |
~AddressServer (void) | |
int | SetLoopbackEnable (bool enabled) |
int | SetTimeToLive (u_char ttl) |
int | RegisterWithReactor (ACE_Reactor &theReactor) |
int | RemoveFromReactor (ACE_Reactor &theReactor) |
virtual int | handle_input (ACE_HANDLE fd) |
virtual ACE_HANDLE | get_handle (void) const |
Protected Member Functions | |
int | SendString (const char *str, const ACE_INET_Addr &dest) |
int | NotifyChange () |
int | NotifyChange (u_int id) |
Private Types | |
typedef std::multimap< u_int, std::string > | BindMap_t |
typedef BindMap_t::value_type | BindValue_t |
typedef std::map< u_int, ACE_INET_Addr > | NotificationMap_t |
typedef NotificationMap_t::value_type | NotificationValue_t |
Private Attributes | |
ACE_INET_Addr | m_remoteAddr |
char | m_buf [BUFSIZ] |
ACE_SOCK_Dgram | m_replySocket |
ACE_SOCK_Dgram_Mcast | m_mcastDgram |
ACE_INET_Addr | m_mcastAddr |
BindMap_t | m_bindings |
NotificationMap_t | m_observers |
u_int | m_nextObserverID |
|
Definition at line 133 of file AddressServer.h. |
|
Definition at line 137 of file AddressServer.h. Referenced by handle_input(). |
|
Definition at line 142 of file AddressServer.h. |
|
Definition at line 146 of file AddressServer.h. Referenced by handle_input(). |
|
Definition at line 11 of file AddressServer.cpp. References m_mcastDgram, and m_replySocket. |
|
Definition at line 23 of file AddressServer.cpp. References m_mcastDgram, and m_replySocket. |
|
Definition at line 35 of file AddressServer.cpp. References m_mcastDgram. |
|
Definition at line 95 of file AddressServer.cpp. References m_mcastDgram. |
|
Definition at line 104 of file AddressServer.cpp. References BindValue_t, m_bindings, m_buf, m_mcastDgram, m_nextObserverID, m_observers, m_remoteAddr, NotificationValue_t, NotifyChange(), and SendString(). |
|
Definition at line 363 of file AddressServer.cpp. References m_observers, and SendString(). |
|
Definition at line 342 of file AddressServer.cpp. References m_observers, and SendString(). Referenced by handle_input(). |
|
Definition at line 69 of file AddressServer.cpp. Referenced by PropertyBasedCommFactory::Open(). |
|
Definition at line 82 of file AddressServer.cpp. Referenced by PropertyBasedCommFactory::Close(). |
|
Definition at line 328 of file AddressServer.cpp. References m_replySocket. Referenced by handle_input(), and NotifyChange(). |
|
Definition at line 42 of file AddressServer.cpp. References m_mcastDgram. Referenced by PropertyBasedCommFactory::Open(). |
|
Definition at line 57 of file AddressServer.cpp. References m_mcastDgram. Referenced by PropertyBasedCommFactory::Open(). |
|
Definition at line 155 of file AddressServer.h. Referenced by handle_input(). |
|
Definition at line 149 of file AddressServer.h. Referenced by handle_input(). |
|
Definition at line 153 of file AddressServer.h. |
|
Definition at line 152 of file AddressServer.h. Referenced by AddressServer(), get_handle(), handle_input(), SetLoopbackEnable(), SetTimeToLive(), and ~AddressServer(). |
|
Definition at line 158 of file AddressServer.h. Referenced by handle_input(). |
|
Definition at line 157 of file AddressServer.h. Referenced by handle_input(), and NotifyChange(). |
|
Definition at line 148 of file AddressServer.h. Referenced by handle_input(). |
|
Definition at line 151 of file AddressServer.h. Referenced by AddressServer(), and SendString(). |