Package | Description |
---|---|
at.jku.fim.rubanetra.config.model |
Modifier and Type | Method and Description |
---|---|
static Port |
Port.create(int portNumber)
Create a new
Port |
Port |
PortRange.getHigherPort() |
Port |
PortRange.getLowerPort() |
static Port |
Port.getPort(int portNumber)
This method is equivalent to calling
create(int) . |
Modifier and Type | Method and Description |
---|---|
void |
PortSpecification.add(Port singlePort)
Adds a single port to this specification.
|
int |
Port.compareTo(Port otherPort) |
boolean |
PortSpecification.contains(Port destinationPort)
Performs a bound check according to the underlying specification.
|
boolean |
PortSpecification.UniversalPortSpecification.contains(Port destinationPort) |
boolean |
PortRange.isWithinRange(Port port)
Checks whether the given port is within this range, i.e.
|
void |
PortRange.setHigherPort(Port higherPort)
Sets the upper bound of this range
|
void |
PortRange.setLowerPort(Port lowerPort)
Sets the lower bound of the range
|
Constructor and Description |
---|
PortRange(Port lowerPort,
Port higherPort)
Create a new port range, which represents all possible ports within the interval [lowerPort;upperPort], inclusive
|
Copyright © 2013–2015 Institute of networks and security. All rights reserved.