Ejemplo n.º 1
0
            public DHCPv6InformRequestHandledEvent(DHCPv6Packet request, DHCPv6Packet response, InformRequestErros error) : base(request, response, error == InformRequestErros.NoError)
            {
                if (error != InformRequestErros.ScopeNotFound)
                {
                    throw new ArgumentException("a scope id has to be specified if an error different from 'ScopeNotFound' is used");
                }

                Error = error;
            }
Ejemplo n.º 2
0
 public DHCPv6InformRequestHandledEvent(DHCPv6Packet request, InformRequestErros error) : this(request, DHCPv6Packet.Empty, error)
 {
 }
Ejemplo n.º 3
0
 public DHCPv6InformRequestHandledEvent(Guid scopeId, DHCPv6Packet request, DHCPv6Packet response, InformRequestErros error) : base(scopeId, request, response, error == InformRequestErros.NoError)
 {
     Error = error;
 }
Ejemplo n.º 4
0
 public DHCPv6InformRequestHandledEvent(Guid scopeId, DHCPv6Packet request, InformRequestErros error) : this(scopeId, request, DHCPv6Packet.Empty, error)
 {
     if (error == InformRequestErros.NoError)
     {
         throw new ArgumentException("if a request has no error, a response packet is needed");
     }
 }