pullup of INFN CVS changes -- mainly notifications
authorAleš Křenek <ljocha@ics.muni.cz>
Thu, 7 Oct 2004 13:05:55 +0000 (13:05 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Thu, 7 Oct 2004 13:05:55 +0000 (13:05 +0000)
org.glite.lb.client-interface/interface/Notification.h
org.glite.lb.client-interface/interface/context.h
org.glite.lb.client-interface/project/version.properties

index 0e0b04a..b8e8b27 100644 (file)
@@ -18,19 +18,29 @@ EWL_BEGIN_NAMESPACE;
 
 class Notification {
 public:
+       /** Create an empty object
+        * to be used for new notifications, i.e. with Register()
+        */
        Notification();
 
-       /** Create from NotifId */
-       Notification(const std::string);
-
-       /** Create from server,port pair */
+       /** Create from server,port pair
+        * to be used for new notifications, i.e. with Register()
+        * \param host
+        * \param port
+        */
        Notification(const std::string,const u_int16_t);
 
+       /** Create from NotifId
+        * to be used for existing notifications, i.e. with Bind()
+        * \param notifId
+        */
+       Notification(const std::string);
+
        ~Notification();
 
        std::string getNotifId() const; /**< retrieve NotifId */
-       time_t getValid() const;        /**< until when it is valid */
-       int getFd() const;              /**< local listener filedescriptor */
+       time_t getValid() const;        /**< retrieve time until when it is valid */
+       int getFd() const;              /**< retrieve local listener filedescriptor */
 
        /** Add this job to the list.
         * Local operation only, Register() has to be called
@@ -55,6 +65,12 @@ public:
         */
        void Register();
 
+       /** Bind to the existing notification at the server
+        * i.e. change the receiving local address
+        * \param address_override
+        */
+       void Bind(const std::string);
+
        /** Receive notification.
         * Blocks at most the specified timeout (maybe 0 for local polling).
         * \retval 0 OK
index 4ac899a..20bf587 100644 (file)
@@ -146,6 +146,7 @@ typedef enum _edg_wll_ErrorCode {
        EDG_WLL_IL_PROTO,       /**< Interlogger to lbserver communication protocol error. */
        EDG_WLL_IL_SYS,         /**< Interlogger internal error. */
        EDG_WLL_IL_EVENTS_WAITING, /**< Interlogger still has events pending delivery. */
+       EDG_WLL_ERROR_DNS, /**< DNS resolver error. See errDesc returned by edg_wll_Error(). */
 } edg_wll_ErrorCode;
 
 /**
index 7d649c4..05c8a2e 100644 (file)
@@ -1,4 +1,4 @@
 #Thu Oct 07 13:51:14 CEST 2004
-module.version=0.1.0
+module.version=0.2.0
 module.build=36
 module.age=0