public class PortUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PortUtils.ConnectionCheck |
static class |
PortUtils.ConnectionCheckSSH |
| Constructor and Description |
|---|
PortUtils() |
| Modifier and Type | Method and Description |
|---|---|
static PortUtils.ConnectionCheck |
connectionCheck(InetSocketAddress address) |
static PortUtils.ConnectionCheck |
connectionCheck(String host,
int port) |
public static PortUtils.ConnectionCheck connectionCheck(String host, int port)
host - hostname to connect toport - port to open socketpublic static PortUtils.ConnectionCheck connectionCheck(InetSocketAddress address)
Copyright © 2016–2017. All rights reserved.