biz.neustar.wpm.api
Interface Net.TraceRouteResult.NetworkHop

Enclosing interface:
Net.TraceRouteResult

public static interface Net.TraceRouteResult.NetworkHop

A single network hop of a traceroute request.


Method Summary
 java.lang.String getHost()
          The resolved host name for the ip address that the reply packet was sent from.
 java.lang.String getIp()
          The ip address that was resolved for the hostname
 float getRtt(int i)
          The round trip response time in seconds for the ith packet.
 float getRtt1()
          The first round trip response time in seconds Negative values indicate that a response was never received.
 float getRtt2()
          The second round trip response time in seconds Negative values indicate that a response was never received.
 float getRtt3()
          The third round trip response time in seconds Negative values indicate that a response was never received.
 int getRttLen()
          Return the number of packets sent
 

Method Detail

getHost

java.lang.String getHost()
The resolved host name for the ip address that the reply packet was sent from.

Returns:
the host name

getIp

java.lang.String getIp()
The ip address that was resolved for the hostname

Returns:
The ip of the host

getRtt

float getRtt(int i)
The round trip response time in seconds for the ith packet. Negative values indicate that a response was never received.

Parameters:
i - the rtt to return
Returns:
the rtt

getRttLen

int getRttLen()
Return the number of packets sent

Returns:
return the number of packets sent

getRtt1

float getRtt1()
The first round trip response time in seconds Negative values indicate that a response was never received.

Returns:
return first rtt

getRtt2

float getRtt2()
The second round trip response time in seconds Negative values indicate that a response was never received.

Returns:
return second rtt2

getRtt3

float getRtt3()
The third round trip response time in seconds Negative values indicate that a response was never received.

Returns:
return second rtt3

Copyright © 2014 Neustar, Inc. All Rights Reserved.