2 * (c) highstreet technologies GmbH
4 package org.opendaylight.mwtn.deviceMonitor.impl;
6 import org.slf4j.Logger;
7 import org.slf4j.LoggerFactory;
10 * Steps to Monitor the connection to a network element during state connected
12 abstract class Checker {
14 @SuppressWarnings("unused")
15 private static final Logger LOG = LoggerFactory.getLogger(Checker.class);
19 * @return true if reachable, false if not
21 abstract boolean isReachableOnce();
24 * Procedure to check the connection of one mountpoint
25 * @return true if reachable, false if not
27 boolean isConnected() {
28 return isReachableOnce();