/// <summary> /// IGMP layers are equal if they have the same message type, query version, similar max response time and the same specific type fields. /// </summary> public bool Equals(IgmpLayer other) { return(other != null && MessageTypeValue == other.MessageTypeValue && QueryVersion == other.QueryVersion && EqualsVersionSpecific(other)); }
/// <summary> /// IGMP layers are equal if they have the same message type, query version, similar max response time and the same specific type fields. /// </summary> public bool Equals(IgmpLayer other) { return other != null && MessageTypeValue == other.MessageTypeValue && QueryVersion == other.QueryVersion && EqualsVersionSpecific(other); }
/// <summary> /// IGMP layers are equal if they have the same message type, query version, similar max response time and the same specific type fields. /// </summary> public bool Equals(IgmpLayer other) { return other != null && MessageType == other.MessageType && QueryVersion == other.QueryVersion && EqualMaxResponseTime(MaxResponseTimeValue, other.MaxResponseTimeValue) && EqualFields(other); }
/// <summary> /// IGMP layers are equal if they have the same message type, query version, similar max response time and the same specific type fields. /// </summary> public bool Equals(IgmpLayer other) { return(other != null && MessageType == other.MessageType && QueryVersion == other.QueryVersion && EqualMaxResponseTime(MaxResponseTimeValue, other.MaxResponseTimeValue) && EqualFields(other)); }
public bool Equals(IgmpLayer other) { if (other != null && this.MessageType == other.MessageType && (this.QueryVersion == other.QueryVersion && IgmpLayer.EqualMaxResponseTime(this.MaxResponseTimeValue, other.MaxResponseTimeValue))) { return(this.EqualFields(other)); } return(false); }
/// <summary> /// true iff the fields that are not mutual to all IGMP layers are equal. /// </summary> protected abstract bool EqualFields(IgmpLayer other);
protected override bool EqualFields(IgmpLayer other) { return(this.EqualFields(other as IgmpReportVersion3Layer)); }
/// <summary> /// true iff the the group address is equal. /// </summary> protected override sealed bool EqualFields(IgmpLayer other) { return EqualFields(other as IgmpSimpleLayer); }
/// <summary> /// true iff the GroupAddress, IsSuppressRouterSideProcessing, QueryRobustnessVariable and SourceAddresses fields are equal /// and the QueryInterval is similar. /// </summary> protected override bool EqualFields(IgmpLayer other) { return(EqualFields(other as IgmpQueryVersion3Layer)); }
/// <summary> /// true iff the fields that are not mutual to all IGMP layers are equal. /// </summary> protected abstract bool EqualFields(IgmpLayer other);
/// <summary> /// true iff the fields that are not mutual to all IGMP layers are equal. /// </summary> protected override sealed bool EqualsVersionSpecific(IgmpLayer other) { return(EqualsVersionSpecific(other as IgmpVersion0Layer)); }
/// <summary> /// true iff the group records are equal. /// </summary> protected override bool EqualFields(IgmpLayer other) { return EqualFields(other as IgmpReportVersion3Layer); }
/// <summary> /// true iff the fields that are not mutual to all IGMP layers are equal. /// </summary> protected override sealed bool EqualsVersionSpecific(IgmpLayer other) { return EqualsVersionSpecific(other as IgmpVersion1PlusLayer); }
/// <summary> /// true iff the fields that are not mutual to all IGMP layers are equal. /// </summary> protected abstract bool EqualsVersionSpecific(IgmpLayer other);
/// <summary> /// true iff the fields that are not mutual to all IGMP layers are equal. /// </summary> protected abstract bool EqualsVersionSpecific(IgmpLayer other);
/// <summary> /// true iff the the group address is equal. /// </summary> protected sealed override bool EqualFields(IgmpLayer other) { return(EqualFields(other as IgmpSimpleLayer)); }