public class PingSend
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
ECHO_PORT |
static int |
FTP_PORT |
static int |
HTTP_PORT |
static int |
NUVP1_PORT |
static int |
SSH_PORT |
static int |
TELNET_PORT |
static int |
TIME_OUT |
Constructor and Description |
---|
PingSend() |
Modifier and Type | Method and Description |
---|---|
static boolean |
activityTest(CommMean cm) |
static boolean |
activityTest(CommMean cm,
int port) |
static boolean |
activityTest(CommMean cm,
int[] testPorts) |
static void |
main(java.lang.String[] args) |
static boolean |
ping(java.lang.String host) |
public static int TIME_OUT
public static int ECHO_PORT
public static int FTP_PORT
public static int SSH_PORT
public static int TELNET_PORT
public static int HTTP_PORT
public static int NUVP1_PORT
public static boolean ping(java.lang.String host)
host
- public static boolean activityTest(CommMean cm)
cm
- public static boolean activityTest(CommMean cm, int port)
cm
- port
- public static boolean activityTest(CommMean cm, int[] testPorts)
cm
- testPorts
- public static void main(java.lang.String[] args) throws java.io.IOException
java.io.IOException
Copyright © 2004-2014 FEUP-LSTS and Neptus developers. All Rights Reserved.