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