public class SocketConnectionInfos extends Object
Constructor | Description |
---|---|
SocketConnectionInfos(String host,
int port) |
Modifier and Type | Method | Description |
---|---|---|
String |
getHost() |
|
int |
getPort() |
|
void |
setHost(String host) |
|
void |
setPort(int port) |
public SocketConnectionInfos(String host, int port)
host
- the name of the host to connect toport
- the port to connect toCopyright © 1998-2018 Apache Software Foundation. All Rights Reserved.