Class PingResult
java.lang.Object
com.aoindustries.noc.monitor.common.Result
com.aoindustries.noc.monitor.common.TableMultiResult
com.aoindustries.noc.monitor.common.PingResult
- All Implemented Interfaces:
Serializable
- Author:
- AO Industries, Inc.
- See Also:
-
Field Summary
-
Constructor Summary
ConstructorDescriptionPingResult
(long time, long latency, AlertLevel alertLevel) PingResult
(long time, long latency, AlertLevel alertLevel, String error) -
Method Summary
Modifier and TypeMethodDescriptiongetRowData
(int index) Gets the data for one row.int
Gets the number of data elements for this result.Methods inherited from class com.aoindustries.noc.monitor.common.TableMultiResult
getAlertLevel, getError
Methods inherited from class com.aoindustries.noc.monitor.common.Result
getLatency, getTime
-
Constructor Details
-
PingResult
-
PingResult
-
-
Method Details
-
getRowDataSize
public int getRowDataSize()Description copied from class:TableMultiResult
Gets the number of data elements for this result.- Specified by:
getRowDataSize
in classTableMultiResult
-
getRowData
Description copied from class:TableMultiResult
Gets the data for one row. This should not include the time and latency, they are implied. When there is an error, getRowData will not be checked and should return null.- Specified by:
getRowData
in classTableMultiResult
-