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

                Error = error;
            }
Example #3
0
 public DHCPv6SolicitHandledEvent(Guid scopeId, DHCPv6Packet request, DHCPv6Packet response, SolicitErros error) : base(scopeId, request, response, error == SolicitErros.NoError)
 {
     Error = error;
 }
Example #4
0
 public DHCPv6SolicitHandledEvent(DHCPv6Packet request, SolicitErros error) : this(request, DHCPv6Packet.Empty, error)
 {
 }