public class PolicyRule extends Object
| Modifier and Type | Method and Description |
|---|---|
static PolicyRule |
createAcceptFromString(String rule) |
static PolicyRule |
createRejectFromString(String rule) |
boolean |
isAcceptRule() |
boolean |
matchesDestination(IPv4Address address,
int port) |
boolean |
matchesPort(int port) |
String |
toString() |
public static PolicyRule createAcceptFromString(String rule)
public static PolicyRule createRejectFromString(String rule)
public boolean matchesPort(int port)
public boolean matchesDestination(IPv4Address address, int port)
public boolean isAcceptRule()
Copyright © 2015. All rights reserved.