public class ServerTransportConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_IDLE_SECONDS |
| Constructor and Description |
|---|
ServerTransportConfig() |
ServerTransportConfig(int port,
int idleSeconds) |
| Modifier and Type | Method and Description |
|---|---|
int |
getIdleSeconds() |
int |
getPort() |
ServerTransportConfig |
setIdleSeconds(int idleSeconds) |
ServerTransportConfig |
setPort(int port) |
String |
toString() |
public static final int DEFAULT_IDLE_SECONDS
public ServerTransportConfig()
public ServerTransportConfig(int port,
int idleSeconds)
public int getPort()
public ServerTransportConfig setPort(int port)
public int getIdleSeconds()
public ServerTransportConfig setIdleSeconds(int idleSeconds)
Copyright © 2020 Alibaba Group. All rights reserved.