Package org.opennms.netmgt.icmp.proxy
Class PingSummary
- java.lang.Object
-
- org.opennms.netmgt.icmp.proxy.PingSummary
-
public class PingSummary extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PingSummary(PingRequest request, int numberOfRequests)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSequence(int sequenceId, java.lang.Throwable exception)
void
addSequence(int sequenceId, PingResponse pingResponse)
void
addSequence(PingSequence sequence)
int
getNumberRequests()
PingRequest
getRequest()
PingSequence
getSequence(int sequenceIndex)
java.util.List<PingSequence>
getSequences()
boolean
isComplete()
boolean
isSuccess()
-
-
-
Constructor Detail
-
PingSummary
public PingSummary(PingRequest request, int numberOfRequests)
-
-
Method Detail
-
addSequence
public void addSequence(int sequenceId, PingResponse pingResponse)
-
addSequence
public void addSequence(int sequenceId, java.lang.Throwable exception)
-
isComplete
public boolean isComplete()
-
isSuccess
public boolean isSuccess()
-
getSequence
public PingSequence getSequence(int sequenceIndex)
-
getSequences
public java.util.List<PingSequence> getSequences()
-
getRequest
public PingRequest getRequest()
-
addSequence
public void addSequence(PingSequence sequence)
-
getNumberRequests
public int getNumberRequests()
-
-