PCFilter.DefinitionStages.WithLocalPort<ParentT> Interface

Type Parameters

ParentT

public static interface PCFilter.DefinitionStages.WithLocalPort

Set local port to be filtered on. Notation: "80" for single port entry."80-85" for range. "80;443;" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null.

Method Summary

Modifier and Type Method and Description
abstract Definition<ParentT> withLocalPort(int port)

Set the local port to be filtered on.

abstract Definition<ParentT> withLocalPortRange(int startPort, int endPort)

Set the local port range to be filtered on.

abstract Definition<ParentT> withLocalPorts(List<Integer> ports)

Set the list of local ports to be filtered on.

Method Details

withLocalPort

public abstract PCFilter.Definition withLocalPort(int port)

Set the local port to be filtered on.

Parameters:

port - port number

Returns:

the next stage

withLocalPortRange

public abstract PCFilter.Definition withLocalPortRange(int startPort, int endPort)

Set the local port range to be filtered on.

Parameters:

startPort - range start port number
endPort - range end port number

Returns:

the next stage

withLocalPorts

public abstract PCFilter.Definition withLocalPorts(List ports)

Set the list of local ports to be filtered on.

Parameters:

ports - list of local ports

Returns:

the next stage

Applies to