Interface PCFilter.DefinitionStages.WithRemotePort<ParentT>
- All Known Subinterfaces:
PCFilter.Definition<ParentT>,PCFilter.DefinitionStages.Blank<ParentT>,PCFilter.DefinitionStages.WithAttach<ParentT>
- Enclosing interface:
- PCFilter.DefinitionStages
public static interface PCFilter.DefinitionStages.WithRemotePort<ParentT>
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 TypeMethodDescriptionwithRemotePort(int port) Set the remote port to be filtered on.withRemotePortRange(int startPort, int endPort) Set the remote port range to be filtered on.withRemotePorts(List<Integer> ports) Set the list of remote ports to be filtered on.
-
Method Details
-
withRemotePort
Set the remote port to be filtered on.- Parameters:
port- port number- Returns:
- the next stage
-
withRemotePortRange
Set the remote port range to be filtered on.- Parameters:
startPort- range start port numberendPort- range end port number- Returns:
- the next stage
-
withRemotePorts
Set the list of remote ports to be filtered on.- Parameters:
ports- list of remote ports- Returns:
- the next stage
-