public abstract class PingerFactory extends Object
PingerFactory class.
| Constructor and Description |
|---|
PingerFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Pinger |
getInstance()
Returns an implementation of the default
Pinger class |
protected static void |
reset()
This is here for unit testing so we can reset this class before
every test.
|
static void |
setInstance(Pinger pinger)
setIpcManager
|
public static Pinger getInstance()
Pinger classPinger object.public static void setInstance(Pinger pinger)
setIpcManager
pinger - a Pinger object.protected static void reset()
Copyright © 2015. All rights reserved.