com.continuent.tungsten.common.network
Class PingResponse

java.lang.Object
  extended by com.continuent.tungsten.common.network.PingResponse

public class PingResponse
extends java.lang.Object

Contains the response from pinging a host.

Author:
Robert Hodges

Constructor Summary
PingResponse()
           
 
Method Summary
 void addNotification(PingNotification notification)
          Adds a ping notification to the current list.
 java.util.List<PingNotification> getNotifications()
          Returns notifications from ping methods.
 boolean isReachable()
          Returns true if the method determined the host was reachable.
 void setReachable(boolean reachable)
           
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PingResponse

public PingResponse()
Method Detail

isReachable

public boolean isReachable()
Returns true if the method determined the host was reachable.


setReachable

public void setReachable(boolean reachable)

getNotifications

public java.util.List<PingNotification> getNotifications()
Returns notifications from ping methods.


addNotification

public void addNotification(PingNotification notification)
Adds a ping notification to the current list.


toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()