public static class UdpTransport.ConnectionInfo extends Transport.ConnectionInfo
| Constructor and Description |
|---|
ConnectionInfo(String host)
Create a ConnectionInfo with the given host and default port 6363.
|
ConnectionInfo(String host,
int port)
Create a ConnectionInfo with the given host and port.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
Get the host given to the constructor.
|
int |
getPort()
Get the port given to the constructor.
|
public ConnectionInfo(String host, int port)
host - The host for the connection.port - The port number for the connection.public ConnectionInfo(String host)
host - The host for the connection.public final String getHost()
public final int getPort()
Copyright © 2019. All rights reserved.