diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/RtecUDPAdmin.idl')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/RtecUDPAdmin.idl | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/TAO/orbsvcs/orbsvcs/RtecUDPAdmin.idl b/TAO/orbsvcs/orbsvcs/RtecUDPAdmin.idl new file mode 100644 index 00000000000..b63f52fe9a2 --- /dev/null +++ b/TAO/orbsvcs/orbsvcs/RtecUDPAdmin.idl @@ -0,0 +1,61 @@ +/** + * @file RtecUDPAdmin.idl + * + * @brief Define the RtecUDPAdmin module + * + * $Id$ + * + * TAO's Real-time Event Service is described in: + * + * http://doc.ece.uci.edu/~coryan/EC/ + * + * @author Carlos O'Ryan <coryan@uci.edu> + */ + +#ifndef TAO_RTEC_UDP_ADMIN_IDL +#define TAO_RTEC_UDP_ADMIN_IDL + +#include "RtecEventComm.idl" + +/** + * @namespace RtecUDPAdmin + * + * @brief Define the data structures and interfaces used by UDP-based + * gateways + */ +module RtecUDPAdmin +{ + /** + * @struct UDP_Addr + * + * @brief Represent a UDP SAP. + */ + struct UDP_Addr + { + /// The IP address + unsigned long ipaddr; + /// The UDP port + unsigned short port; + }; + + /** + * @interface AddrServer + * + * @brief Defines a interface to configure the mapping between + * events and multicast groups (or UDP broadcast or UDP unicast) + * addresses. + */ + interface AddrServer + { + /// Get the UDP address give the event header + /** + * @param header The event header, used to fetch the type and + * source of the event + * @param addr Return the address used for the given event type + */ + void get_addr (in RtecEventComm::EventHeader header, + out UDP_Addr addr); + }; +}; + +#endif /* TAO_RTEC_UDP_ADMIN_IDL */ |