| Package | Description |
|---|---|
| com.h3c.util.ip |
| Modifier and Type | Method and Description |
|---|---|
static TcpUdpPortPair |
TcpUdpPortPair.valueOf(IpAddress sourceIp,
TcpUdpPort sourcePort,
IpAddress destIp,
TcpUdpPort destPort)
Returns a
TcpUdpPortPair object that represents the source and
destination ports specified by the given IP addresses and TCP/UDP ports. |
| Modifier and Type | Method and Description |
|---|---|
int |
TcpUdpPortPair.compareTo(TcpUdpPortPair o)
This implementation of the
Comparable interface sorts by
source IP/port first, then destination IP/port. |
Copyright © 2014. All Rights Reserved.