public class TcpParameters extends Object
| Constructor and Description |
|---|
TcpParameters() |
TcpParameters(InetAddress host,
int port,
boolean keepAlive) |
TcpParameters(String host,
int port,
boolean keepAlive) |
TcpParameters(TcpParameters p) |
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getHost() |
int |
getPort() |
boolean |
isKeepAlive() |
void |
setHost(InetAddress host) |
void |
setKeepAlive(boolean keepAlive) |
void |
setPort(int port) |
public TcpParameters()
public TcpParameters(TcpParameters p)
public TcpParameters(InetAddress host, int port, boolean keepAlive)
public TcpParameters(String host, int port, boolean keepAlive)
public InetAddress getHost()
public void setHost(InetAddress host)
public int getPort()
public void setPort(int port)
public boolean isKeepAlive()
public void setKeepAlive(boolean keepAlive)
Copyright © 2018. All rights reserved.