net.sf.snmpadaptor4j.api
Interface SnmpDaemon

All Known Implementing Classes:
OpennmsSnmpDaemon

public interface SnmpDaemon

SNMP daemon.

Classes implementing this interface encapsulate the SNMP API. To change the API, just create a new implementation of SnmpDaemon.

Author:
Jean-Philippe MINETTI

Method Summary
 boolean isStarted()
          Returns TRUE if the SNMP daemon is started.
 void start()
          Starts the SNMP daemon.
 void stop()
          Stops the SNMP daemon.
 

Method Detail

start

void start()
           throws Exception
Starts the SNMP daemon.

Throws:
Exception - Exception if an error has occurred.

stop

void stop()
          throws Exception
Stops the SNMP daemon.

Throws:
Exception - Exception if an error has occurred.

isStarted

boolean isStarted()
Returns TRUE if the SNMP daemon is started.

Returns:
TRUE if the SNMP daemon is started.


Copyright © 2012-2013 snmpAdaptor4j. All Rights Reserved.