hudson.model
Class ComputerPinger.BuiltInComputerPinger

java.lang.Object
  extended by hudson.model.ComputerPinger
      extended by hudson.model.ComputerPinger.BuiltInComputerPinger
All Implemented Interfaces:
ExtensionPoint
Enclosing class:
ComputerPinger

@Extension
public static class ComputerPinger.BuiltInComputerPinger
extends ComputerPinger

Default pinger - use Java built-in functionality. This doesn't always work, a host may be reachable even if this returns false.


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.ComputerPinger
ComputerPinger.BuiltInComputerPinger
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Constructor Summary
ComputerPinger.BuiltInComputerPinger()
           
 
Method Summary
 boolean isReachable(InetAddress ia, int timeout)
          Is the specified address reachable?
 
Methods inherited from class hudson.model.ComputerPinger
all, checkIsReachable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ComputerPinger.BuiltInComputerPinger

public ComputerPinger.BuiltInComputerPinger()
Method Detail

isReachable

public boolean isReachable(InetAddress ia,
                           int timeout)
                    throws IOException
Description copied from class: ComputerPinger
Is the specified address reachable?

Specified by:
isReachable in class ComputerPinger
Parameters:
ia - The address to check.
timeout - Timeout in seconds.
Throws:
IOException


Copyright © 2004-2013. All Rights Reserved.