public class NDTConstants extends Object
| Modifier and Type | Field and Description |
|---|---|
static String | ACCESS_TECHAccess technology variable name as sent by the NDT server. |
static String | AVGRTTAverage RTT variable name as sent by the NDT server in TEST_MSG results. |
static String | BAD_CABLEBad cable detection variable name as sent by the NDT server. |
static float | BUFFER_LIMITEDReceiver-limited threshold (fraction of time). |
static int | CABLE_STATUS_BADCable status: bad cable detected. |
static int | CABLE_STATUS_OKCable status: OK (no fault detected). |
static String | CONGESTIONCongestion detection variable name as sent by the NDT server. |
static int | CONGESTION_FOUNDCongestion status: congestion found. |
static int | CONGESTION_NONECongestion status: no congestion detected. |
static int | CONTROL_PORT_DEFAULTDefault NDT control connection port (non-SSL). |
static int | CONTROL_PORT_SSLDefault NDT control connection port (SSL). |
static String | CURRTOCurrent retransmission timeout variable name as sent by the NDT server. |
static String | CURRWINRCVDCurrent receive window size variable name as sent by the NDT server. |
static String | CWNDTIMECongestion window time variable name as sent by the NDT server. |
static int | DATA_RATE_10G_ETHERNETData rate indicator: 10 Gigabit Ethernet connection. |
static int | DATA_RATE_DIAL_UPData rate indicator: dial-up connection. |
static int | DATA_RATE_ETHERNETData rate indicator: Ethernet connection. |
static int | DATA_RATE_FAST_ETHERNETData rate indicator: Fast Ethernet connection. |
static int | DATA_RATE_GIGABIT_ETHERNETData rate indicator: Gigabit Ethernet connection. |
static int | DATA_RATE_INSUFFICIENT_DATAData rate indicator: insufficient data to determine rate. |
static int | DATA_RATE_OC_12Data rate indicator: OC-12 connection. |
static int | DATA_RATE_OC_48Data rate indicator: OC-48 connection. |
static int | DATA_RATE_RTTData rate indicator: RTT measurement only. |
static int | DATA_RATE_SYSTEM_FAULTData rate indicator: system fault during rate detection. |
static int | DATA_RATE_T1Data rate indicator: T1 connection. |
static int | DATA_RATE_T3Data rate indicator: T3 connection. |
static String | DUPACKSINDuplicate ACKs incoming variable name as sent by the NDT server. |
static int | DUPLEX_NOK_INDICATORDuplex status indicator: mismatch detected. |
static int | DUPLEX_OK_INDICATORDuplex status indicator: OK at both ends. |
static int | DUPLEX_SWITCH_FULL_HOST_HALFDuplex status indicator: switch full-duplex, host half-duplex. |
static int | DUPLEX_SWITCH_FULL_HOST_HALF_POSSDuplex status indicator: possible switch full, host half. |
static int | DUPLEX_SWITCH_HALF_HOST_FULLDuplex status indicator: switch half-duplex, host full-duplex. |
static int | DUPLEX_SWITCH_HALF_HOST_FULL_POSSDuplex status indicator: possible switch half, host full. |
static int | DUPLEX_SWITCH_HALF_HOST_FULL_WARNDuplex status indicator: warning, switch half, host full. |
static double | EIGHTConversion factor from bits to bytes (8.0). |
static int | ETHERNET_MTU_SIZEStandard Ethernet MTU size used for middlebox detection. |
static String | ETHERNET_STRHuman-readable label for Ethernet data rate. |
static String | FAST_ETHERNETHuman-readable label for Fast Ethernet data rate. |
static String | GIGABIT_ETHERNET_STRHuman-readable label for Gigabit Ethernet data rate. |
static int | KILOBase-10 kilo multiplier (1000). |
static int | KILO_BITSBase-2 kilo multiplier (1024). |
static String | LOOPBACK_ADDRS_STRINGIPv4 loopback address string. |
static String | LOSSPacket loss variable name as sent by the NDT server. |
static String | MAXRTTMaximum RTT variable name as sent by the NDT server. |
static String | MAXRWINRCVDMaximum receive window size variable name as sent by the NDT server. |
static String | META_BROWSER_OSBrowser OS name key sent in TEST_MSG during META test. |
static String | META_CLIENT_APPLICATIONClient application name key sent in TEST_MSG during META test. |
static String | META_CLIENT_KERNEL_VERSIONClient kernel version key sent in TEST_MSG during META test. |
static String | META_CLIENT_OSClient OS name key sent in TEST_MSG during META test. |
static String | META_CLIENT_VERSIONClient software version key sent in TEST_MSG during META test. |
static int | MIDDLEBOX_PREDEFINED_MSSMiddlebox test MSS size. |
static String | MINRTTMinimum RTT variable name as sent by the NDT server. |
static String | MISMATCHMismatch counter variable name as sent by the NDT server. |
static String | NDT_TITLE_STRNDT client title bar prefix string. |
static String | OC_12_STRHuman-readable label for OC-12 data rate. |
static String | OC_48_STRHuman-readable label for OC-48 data rate. |
static String | OPTRCVRBUFFOptimal receiver buffer size variable name as sent by the NDT server. |
static int | PERCENTAGEPercentage multiplier (100). |
static int | PREDEFINED_BUFFER_SIZEPredefined buffer size for data transfers. |
static int | PROTOCOL_MSG_READ_SUCCESSReturned by Protocol.recv_msg(edu.internet2.ndt.Message) on success. |
static int | RFC_1323_DISABLEDRFC 1323 window scaling disabled. |
static int | RFC_1323_ENABLEDRFC 1323 window scaling enabled. |
static int | RFC_1323_PEER_DISABLEDRFC 1323 window scaling peer-disabled by remote. |
static int | RFC_1323_SELF_DISABLEDRFC 1323 window scaling self-disabled by endpoint. |
static int | RFC_2018_ENABLEDRFC 2018 selective acknowledgment enabled. |
static int | RFC_3168_ENABLEDRFC 3168 explicit congestion notification enabled. |
static int | RFC_3168_PEER_DISABLEDRFC 3168 ECN peer-disabled. |
static int | RFC_3168_SELF_DISABLEDRFC 3168 ECN self-disabled. |
static int | RFC_896_ENABLEDRFC 896 Nagle algorithm enabled. |
static String | RWINTIMEReceive window time variable name as sent by the NDT server. |
static String | SACKSRCVDSACKs received variable name as sent by the NDT server. |
static int | SFW_NOFIREWALLSimple Firewall test result code: no firewall detected. |
static int | SFW_NOTTESTEDSimple Firewall test result code: not yet tested. |
static int | SFW_POSSIBLESimple Firewall test result code: firewall likely present. |
static String | SFW_PREDEFINED_TEST_MESSAGEPredefined message text for the simple firewall test. |
static int | SFW_UNKNOWNSimple Firewall test result code: firewall presence unknown. |
static int | SOCKET_FREE_PORT_INDICATORSocket free port indicator (bind to any available port). |
static int | SRV_QUEUE_HEARTBEATSRV_QUEUE message body value: heartbeat keepalive. |
static int | SRV_QUEUE_SERVER_BUSYSRV_QUEUE message body value: server busy. |
static int | SRV_QUEUE_SERVER_BUSY_60sSRV_QUEUE message body value: server busy, retry after 60s. |
static int | SRV_QUEUE_SERVER_FAULTSRV_QUEUE message body value: server fault. |
static int | SRV_QUEUE_TEST_STARTS_NOWSRV_QUEUE message body value: test starts now. |
static String | T1_STRHuman-readable label for T1 data rate. |
static String | T3_STRHuman-readable label for T3 data rate. |
static String | TARGET1Mailto parameter key name for target URL. |
static String | TARGET2Mailto parameter key name for host. |
static int | TCP_MAX_RECV_WIN_SIZEMaximum TCP receive window size in bytes (16-bit field). |
static String | TCPBW100_MSGSResource bundle base name for Tcpbw100 message translations. |
static String | TENGIGABIT_ETHERNET_STRHuman-readable label for 10 Gigabit Ethernet data rate. |
static byte | TEST_C2STest type bitmask: client-to-server bandwidth test. |
static byte | TEST_METATest type bitmask: META data exchange test. |
static byte | TEST_MIDTest type bitmask: middlebox test. |
static byte | TEST_S2CTest type bitmask: server-to-client bandwidth test. |
static byte | TEST_SFWTest type bitmask: simple firewall test. |
static byte | TEST_STATUSTest type bitmask: status test. |
static String | VERSIONNDT protocol version string sent to server during login. |
static double | VIEW_DIFFFractional difference threshold for packet queuing detection. |
static String | WAITSECWait seconds variable name as sent by the NDT server. |
| Modifier and Type | Method and Description |
|---|---|
static String | getMessageString(String paramStrName)Look up a translated string from the NDT message bundle. |
static void | initConstants(Locale paramLocale)Load the NDT message resource bundle for the given locale. |
static void | initConstants(String paramStrLang,
String paramStrCountry)Load the NDT message resource bundle for the given language and country. |
public static final String ACCESS_TECH
public static final String AVGRTT
public static final String BAD_CABLE
public static final float BUFFER_LIMITED
public static final int CABLE_STATUS_BAD
public static final int CABLE_STATUS_OK
public static final String CONGESTION
public static final int CONGESTION_FOUND
public static final int CONGESTION_NONE
public static final int CONTROL_PORT_DEFAULT
public static final int CONTROL_PORT_SSL
public static final String CURRTO
public static final String CURRWINRCVD
public static final String CWNDTIME
public static final int DATA_RATE_10G_ETHERNET
public static final int DATA_RATE_DIAL_UP
public static final int DATA_RATE_ETHERNET
public static final int DATA_RATE_FAST_ETHERNET
public static final int DATA_RATE_GIGABIT_ETHERNET
public static final int DATA_RATE_INSUFFICIENT_DATA
public static final int DATA_RATE_OC_12
public static final int DATA_RATE_OC_48
public static final int DATA_RATE_RTT
public static final int DATA_RATE_SYSTEM_FAULT
public static final int DATA_RATE_T1
public static final int DATA_RATE_T3
public static final String DUPACKSIN
public static final int DUPLEX_NOK_INDICATOR
public static final int DUPLEX_OK_INDICATOR
public static final int DUPLEX_SWITCH_FULL_HOST_HALF
public static final int DUPLEX_SWITCH_FULL_HOST_HALF_POSS
public static final int DUPLEX_SWITCH_HALF_HOST_FULL
public static final int DUPLEX_SWITCH_HALF_HOST_FULL_POSS
public static final int DUPLEX_SWITCH_HALF_HOST_FULL_WARN
public static final double EIGHT
public static final int ETHERNET_MTU_SIZE
public static final String ETHERNET_STR
public static final String FAST_ETHERNET
public static final String GIGABIT_ETHERNET_STR
public static final int KILO
public static final int KILO_BITS
public static final String LOOPBACK_ADDRS_STRING
public static final String LOSS
public static final String MAXRTT
public static final String MAXRWINRCVD
public static final String META_BROWSER_OS
public static final String META_CLIENT_APPLICATION
public static final String META_CLIENT_KERNEL_VERSION
public static final String META_CLIENT_OS
public static final String META_CLIENT_VERSION
public static final int MIDDLEBOX_PREDEFINED_MSS
public static final String MINRTT
public static final String MISMATCH
public static final String NDT_TITLE_STR
public static final String OC_12_STR
public static final String OC_48_STR
public static final String OPTRCVRBUFF
public static final int PERCENTAGE
public static final int PREDEFINED_BUFFER_SIZE
public static final int PROTOCOL_MSG_READ_SUCCESS
Protocol.recv_msg(edu.internet2.ndt.Message) on success.public static final int RFC_1323_DISABLED
public static final int RFC_1323_ENABLED
public static final int RFC_1323_PEER_DISABLED
public static final int RFC_1323_SELF_DISABLED
public static final int RFC_2018_ENABLED
public static final int RFC_3168_ENABLED
public static final int RFC_3168_PEER_DISABLED
public static final int RFC_3168_SELF_DISABLED
public static final int RFC_896_ENABLED
public static final String RWINTIME
public static final String SACKSRCVD
public static final int SFW_NOFIREWALL
public static final int SFW_NOTTESTED
public static final int SFW_POSSIBLE
public static final String SFW_PREDEFINED_TEST_MESSAGE
public static final int SFW_UNKNOWN
public static final int SOCKET_FREE_PORT_INDICATOR
public static final int SRV_QUEUE_HEARTBEAT
public static final int SRV_QUEUE_SERVER_BUSY
public static final int SRV_QUEUE_SERVER_BUSY_60s
public static final int SRV_QUEUE_SERVER_FAULT
public static final int SRV_QUEUE_TEST_STARTS_NOW
public static final String T1_STR
public static final String T3_STR
public static final String TARGET1
public static final String TARGET2
public static final int TCP_MAX_RECV_WIN_SIZE
public static final String TCPBW100_MSGS
public static final String TENGIGABIT_ETHERNET_STR
public static final byte TEST_C2S
public static final byte TEST_META
public static final byte TEST_MID
public static final byte TEST_S2C
public static final byte TEST_SFW
public static final byte TEST_STATUS
public static final String VERSION
public static final double VIEW_DIFF
public static final String WAITSEC
public static String getMessageString(String paramStrName)
paramStrName - key name (e.g. "start", "done")public static void initConstants(Locale paramLocale)
paramLocale - locale to loadpublic static void initConstants(String paramStrLang, String paramStrCountry)
paramStrLang - ISO 639 language code (e.g. "en", "fr")paramStrCountry - ISO 3166 country code (e.g. "US", "FR"), may be ignored