Ejemplo n.º 1
0
 /**
  * Instantiates a new ddns updater.
  *
  * @param requestMsg the request msg
  * @param clientLink the client link
  * @param bindingAddr the binding addr
  * @param fqdn the fqdn
  * @param doForwardUpdate the do forward update
  * @param isDelete the is delete
  */
 public DdnsUpdater(DhcpMessage requestMsg, link clientLink, DhcpConfigObject configObj,
                    IPAddress addr, string fqdn, byte[] duid, long lifetime,
                    bool doForwardUpdate, bool isDelete,
                    DdnsCallback callback)
 {
     this.requestMsg      = requestMsg;
     this.duid            = duid;
     this.clientLink      = clientLink;
     this.configObj       = configObj;
     this.addr            = addr;
     this.fqdn            = fqdn;
     this.lifetime        = lifetime;
     this.doForwardUpdate = doForwardUpdate;
     this.isDelete        = isDelete;
     this.callback        = callback;
 }
Ejemplo n.º 2
0
        //private link link;
        //private IPAddress iPAddress;
        //private byte[] v1;
        //private bool v2;
        //private bool v3;
        //private DdnsCallback ddnsComplete;

        /**
         * Instantiates a new ddns updater.
         *
         * @param clientLink the client link
         * @param bindingAddr the binding addr
         * @param fqdn the fqdn
         * @param duid the duid
         * @param doForwardUpdate the do forward update
         * @param isDelete the is delete
         */
        public DdnsUpdater(link clientLink, DhcpConfigObject configObj,
                           IPAddress addr, string fqdn, byte[] duid, long lifetime,
                           bool doForwardUpdate, bool isDelete, DdnsCallback callback) :
            this(null, clientLink, configObj, addr, fqdn, duid, lifetime, doForwardUpdate, isDelete, callback)
        {
        }