public class PortList extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PortList.ProtocolEnum
端口映射协议,支持TCP。
|
| Constructor and Description |
|---|
PortList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
getClientPort()
终端节点访问的端口。 终端节点提供给用户,作为访问终端节 点服务的端口,范围1-65535。
|
PortList.ProtocolEnum |
getProtocol()
端口映射协议,支持TCP。
|
Integer |
getServerPort()
终端节点服务的端口。 终端节点服务绑定了后端资源,作为提 供服务的端口,范围1-65535。
|
int |
hashCode() |
void |
setClientPort(Integer clientPort) |
void |
setProtocol(PortList.ProtocolEnum protocol) |
void |
setServerPort(Integer serverPort) |
String |
toString() |
PortList |
withClientPort(Integer clientPort) |
PortList |
withProtocol(PortList.ProtocolEnum protocol) |
PortList |
withServerPort(Integer serverPort) |
public Integer getClientPort()
public void setClientPort(Integer clientPort)
public Integer getServerPort()
public void setServerPort(Integer serverPort)
public PortList withProtocol(PortList.ProtocolEnum protocol)
public PortList.ProtocolEnum getProtocol()
public void setProtocol(PortList.ProtocolEnum protocol)
Copyright © 2022. All rights reserved.