net.named_data.jndn.transport
public static class UdpTransport.ConnectionInfo extends Transport.ConnectionInfo
| Constructor and Description |
|---|
UdpTransport.ConnectionInfo(String host)
Create a ConnectionInfo with the given host and default port 6363.
|
UdpTransport.ConnectionInfo(String host,
int port)
Create a ConnectionInfo with the given host and port.
|
public UdpTransport.ConnectionInfo(String host, int port)
host - The host for the connection.port - The port number for the connection.public UdpTransport.ConnectionInfo(String host)
host - The host for the connection.public final String getHost()
public final int getPort()
Copyright © 2016. All rights reserved.