RtecUDPAdmin.idl

Go to the documentation of this file.
00001 /**
00002  * @file RtecUDPAdmin.idl
00003  *
00004  * @brief Define the RtecUDPAdmin module
00005  *
00006  * RtecUDPAdmin.idl,v 1.3 2001/09/17 20:50:34 coryan Exp
00007  *
00008  * TAO's Real-time Event Service is described in:
00009  *
00010  * http://doc.ece.uci.edu/~coryan/EC/
00011  *
00012  * @author Carlos O'Ryan <coryan@uci.edu>
00013  */
00014 
00015 #ifndef TAO_RTEC_UDP_ADMIN_IDL
00016 #define TAO_RTEC_UDP_ADMIN_IDL
00017 
00018 #include "RtecEventComm.idl"
00019 
00020 /**
00021  * @namespace RtecUDPAdmin
00022  *
00023  * @brief Define the data structures and interfaces used by UDP-based
00024  *   gateways
00025  */
00026 module RtecUDPAdmin
00027 {
00028   /**
00029    * @struct UDP_Addr
00030    *
00031    * @brief Represent a UDP SAP.
00032    */
00033   struct UDP_Addr
00034   {
00035     /// The IP address
00036     unsigned long ipaddr;
00037     /// The UDP port
00038     unsigned short port;
00039   };
00040 
00041   /**
00042    * @interface AddrServer
00043    *
00044    * @brief Defines a interface to configure the mapping between
00045    *   events and multicast groups (or UDP broadcast or UDP unicast)
00046    *   addresses.
00047    */
00048   interface AddrServer
00049   {
00050     /// Get the UDP address give the event header
00051     /**
00052      * @param header The event header, used to fetch the type and
00053      *   source of the event
00054      * @param addr Return the address used for the given event type
00055      */
00056     void get_addr (in RtecEventComm::EventHeader header,
00057                    out UDP_Addr addr);
00058   };
00059 };
00060 
00061 #endif /* TAO_RTEC_UDP_ADMIN_IDL */

Generated on Thu Nov 9 13:11:11 2006 for TAO_RTEvent by doxygen 1.3.6