Package | Description |
---|---|
com.hp.util.ip |
A set of classes representing data values in the network management domain.
|
com.hp.util.pkt |
Network packet parsing library.
|
Modifier and Type | Field and Description |
---|---|
static TcpUdpPort |
TcpUdpPort.UNDETERMINED_TCP
A value representing an undetermined TCP port.
|
static TcpUdpPort |
TcpUdpPort.UNDETERMINED_UDP
A value representing an undetermined UDP port.
|
Modifier and Type | Method and Description |
---|---|
TcpUdpPort |
TcpUdpPortPair.getDestinationPort()
Returns the port of the destination.
|
TcpUdpPort |
TcpUdpPortPair.getSourcePort()
Returns the port of the source.
|
static TcpUdpPort |
TcpUdpPort.tcpPort(int portNumber)
Delegates to
valueOf(int,IpProtocol) , specifying the
protocol to be TCP. |
static TcpUdpPort |
TcpUdpPort.udpPort(int portNumber)
Delegates to
valueOf(int,IpProtocol) , specifying the
protocol to be UDP. |
static TcpUdpPort |
TcpUdpPort.valueOf(int portNumber,
IpProtocol protocol)
Returns an object that represents the value of the tcp/udp port
identified by the specified port number and protocol.
|
static TcpUdpPort |
TcpUdpPort.valueOf(String value)
Returns an object that represents the value of the tcp/udp port
identified by the specified string.
|
Modifier and Type | Method and Description |
---|---|
int |
TcpUdpPort.compareTo(TcpUdpPort o)
Implements the Comparable interface, to return ports in a natural order.
|
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 |
---|---|
TcpUdpPort |
Udp.dstPort()
Returns the destination port.
|
TcpUdpPort |
Tcp.dstPort()
Returns the destination port.
|
TcpUdpPort |
Udp.srcPort()
Returns the source port.
|
TcpUdpPort |
Tcp.srcPort()
Returns the source port.
|
Modifier and Type | Method and Description |
---|---|
Udp.Builder |
Udp.Builder.dstPort(TcpUdpPort dstPort)
Sets the destination port.
|
Tcp.Builder |
Tcp.Builder.dstPort(TcpUdpPort dstPort)
Sets the destination port.
|
Udp.Builder |
Udp.Builder.srcPort(TcpUdpPort srcPort)
Sets the source port.
|
Tcp.Builder |
Tcp.Builder.srcPort(TcpUdpPort srcPort)
Sets the source port.
|
Copyright © 2015. All Rights Reserved.