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"); } }
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; }
public DHCPv6SolicitHandledEvent(Guid scopeId, DHCPv6Packet request, DHCPv6Packet response, SolicitErros error) : base(scopeId, request, response, error == SolicitErros.NoError) { Error = error; }
public DHCPv6SolicitHandledEvent(DHCPv6Packet request, SolicitErros error) : this(request, DHCPv6Packet.Empty, error) { }