Coverage Report - net.sf.snmpadaptor4j.api.SnmpDaemon
 
Classes in this File Line Coverage Branch Coverage Complexity
SnmpDaemon
N/A
N/A
1
 
 1  
 package net.sf.snmpadaptor4j.api;
 2  
 
 3  
 /**
 4  
  * SNMP daemon.
 5  
  * <p>
 6  
  * Classes implementing this interface encapsulate the SNMP API. To change the API, just create a new implementation of {@link SnmpDaemon}.
 7  
  * </p>
 8  
  * @author <a href="http://fr.linkedin.com/in/jpminetti/">Jean-Philippe MINETTI</a>
 9  
  */
 10  
 public interface SnmpDaemon {
 11  
 
 12  
         /**
 13  
          * Starts the SNMP daemon.
 14  
          * @throws Exception Exception if an error has occurred.
 15  
          */
 16  
         void start () throws Exception;
 17  
 
 18  
         /**
 19  
          * Stops the SNMP daemon.
 20  
          * @throws Exception Exception if an error has occurred.
 21  
          */
 22  
         void stop () throws Exception;
 23  
 
 24  
         /**
 25  
          * Returns <code>TRUE</code> if the SNMP daemon is started.
 26  
          * @return <code>TRUE</code> if the SNMP daemon is started.
 27  
          */
 28  
         boolean isStarted ();
 29  
 
 30  
 }