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