public class Port extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Port.Protocol
Represents the protocol portion of the port.
|
| Constructor and Description |
|---|
Port(int port,
Port.Protocol protocol) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
int |
getPort() |
Port.Protocol |
getProtocol() |
int |
hashCode() |
String |
toString() |
public Port(int port,
Port.Protocol protocol)
public int getPort()
public Port.Protocol getProtocol()
Copyright © 2018. All rights reserved.