com.sun.n1.sps.model.util
Interface TraceResult


public interface TraceResult

Objects of this class encapsulate results of a trace request. This class encapsulates a list of PingResult objects that contain information about each hop. The operation is considered successful if PingResult objects have been obtained in decreasing order of TTL and all of them were successful.


Method Summary
 RoxAddress getDestinationId()
          Returns the destination ID for this trace result.
 PingResult[] getHops()
          An ordered list of hops for this trace result.
 boolean isSuccess()
          Returns true if the operation was successful.
 

Method Detail

isSuccess

boolean isSuccess()
Returns true if the operation was successful.

Returns:
true if the operation was successful, false otherwise.

getDestinationId

RoxAddress getDestinationId()
Returns the destination ID for this trace result.

Returns:
The RoxAddress of the destination.

getHops

PingResult[] getHops()
An ordered list of hops for this trace result.

Returns:
The array of PingResults for this trace result.