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