public Guid CreateLayerCalloutFilter( DisplayData displayData, Layer layer, uint weight, Callout callout, ProviderContext providerContext) { var filterId = IpFilterNative.CreateLayerFilter( Session.Handle, ProviderId, Id, displayData, layer, Action.Callout, weight, callout.Id, providerContext.Id); AddFilter(filterId); return(filterId); }
public Guid CreateRemoteNetworkIPv4CalloutFilter( DisplayData displayData, Layer layer, uint weight, Callout callout, ProviderContext providerContext, NetworkAddress addr) { var filterId = IpFilterNative.CreateRemoteNetworkIPv4Filter( Session.Handle, ProviderId, Id, displayData, layer, Action.Callout, weight, callout.Id, providerContext.Id, addr); AddFilter(filterId); return(filterId); }
public void DestroyCallout(Callout callout) { IpFilterNative.DestroyCallout( Session.Handle, callout.Id); }