1 package net.sf.snmpadaptor4j.api;
2
3 /**
4 * Objects containing all configuration settings of SNMP daemon.
5 * @author <a href="http://fr.linkedin.com/in/jpminetti/">Jean-Philippe MINETTI</a>
6 */
7 public interface SnmpDaemonConfiguration {
8
9 /**
10 * Returns the listening IP address of SNMP daemon (127.0.0.1 by default).
11 * @return Listening IP address.
12 */
13 String getListenerAddress ();
14
15 /**
16 * Returns the UDP port of SNMP daemon (161 by default).
17 * @return UDP port.
18 */
19 Integer getListenerPort ();
20
21 /**
22 * Returns the protocol version of SNMP daemon (SNMP v2 by default).
23 * @return SNMP protocol version.
24 */
25 Integer getListenerSnmpVersion ();
26
27 /**
28 * Returns the read community of SNMP daemon ("public" by default).
29 * @return Read community of SNMP daemon.
30 */
31 String getListenerReadCommunity ();
32
33 /**
34 * Returns the write community of SNMP daemon ("private" by default).
35 * @return Write community of SNMP daemon.
36 */
37 String getListenerWriteCommunity ();
38
39 }