public class IpPort extends Object
| Constructor and Description |
|---|
IpPort() |
IpPort(String hostOrIp,
int port) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getHostOrIp() |
int |
getPort() |
InetSocketAddress |
getSocketAddress() |
int |
hashCode() |
void |
setHostOrIp(String hostOrIp) |
void |
setPort(int port) |
String |
toString() |
public IpPort()
public IpPort(String hostOrIp, int port)
public String getHostOrIp()
public void setHostOrIp(String hostOrIp)
public int getPort()
public void setPort(int port)
public InetSocketAddress getSocketAddress()
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.