Package hudson.model
Class ComputerPinger
java.lang.Object
hudson.model.ComputerPinger
- All Implemented Interfaces:
 ExtensionPoint
- Direct Known Subclasses:
 ComputerPinger.BuiltInComputerPinger
A way to see if a computer is reachable.
- Since:
 - 1.378
 
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDefault pinger - use Java built-in functionality.Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic ExtensionList<ComputerPinger>all()Get all registered instances.static booleancheckIsReachable(InetAddress ia, int timeout) Is this computer reachable via the given address?abstract booleanisReachable(InetAddress ia, int timeout) Is the specified address reachable? 
- 
Constructor Details
- 
ComputerPinger
public ComputerPinger() 
 - 
 - 
Method Details
- 
isReachable
Is the specified address reachable?- Parameters:
 ia- The address to check.timeout- Timeout in seconds.- Throws:
 IOException
 - 
all
Get all registered instances. - 
checkIsReachable
Is this computer reachable via the given address?- Parameters:
 ia- The address to check.timeout- Timeout in seconds.- Throws:
 IOException
 
 -