示例#1
0
 public DHCPv6RebindHandledEvent(Guid scopeId, DHCPv6Packet request, RebindErrors error) : this(scopeId, request, DHCPv6Packet.Empty, error)
 {
     if (error == RebindErrors.NoError)
     {
         throw new ArgumentException("if a request has no error, a response packet is needed");
     }
 }
示例#2
0
            public DHCPv6RebindHandledEvent(DHCPv6Packet request, DHCPv6Packet response, RebindErrors error) : base(request, response, error == RebindErrors.NoError)
            {
                if (error != RebindErrors.ScopeNotFound)
                {
                    throw new ArgumentException("a scope id has to be specified if an error different from 'ScopeNotFound' is used");
                }

                Error = error;
            }
示例#3
0
 public DHCPv6RebindHandledEvent(Guid scopeId, DHCPv6Packet request, DHCPv6Packet response, RebindErrors error) : base(scopeId, request, response, error == RebindErrors.NoError)
 {
     Error = error;
 }
示例#4
0
 public DHCPv6RebindHandledEvent(DHCPv6Packet request, RebindErrors error) : this(request, DHCPv6Packet.Empty, error)
 {
 }