View Javadoc

1   package net.sf.snmpadaptor4j.mbean;
2   
3   /**
4    * MBean containing all informations on the system.
5    * @author <a href="http://fr.linkedin.com/in/jpminetti/">Jean-Philippe MINETTI</a>
6    */
7   public interface SystemInfoMBean {
8   
9   	/**
10  	 * Returns the name given to the system (<code>system.sysName.0</code>).
11  	 * @return Name given to the system.
12  	 */
13  	String getSysName ();
14  
15  	/**
16  	 * Sets the name given to the system (<code>system.sysName.0</code>).
17  	 * @param sysName Name given to the system.
18  	 */
19  	void setSysName (String sysName);
20  
21  	/**
22  	 * Returns the description on the system (<code>system.sysDescr.0</code>).
23  	 * @return Description on the system.
24  	 */
25  	String getSysDescr ();
26  
27  	/**
28  	 * Sets the description on the system (<code>system.sysDescr.0</code>).
29  	 * @param sysDescr Description on the system.
30  	 */
31  	void setSysDescr (String sysDescr);
32  
33  	/**
34  	 * Returns the location of the system (<code>system.sysLocation.0</code>).
35  	 * @return Location of the system.
36  	 */
37  	String getSysLocation ();
38  
39  	/**
40  	 * Sets the location of the system (<code>system.sysLocation.0</code>).
41  	 * @param sysLocation Location of the system.
42  	 */
43  	void setSysLocation (String sysLocation);
44  
45  	/**
46  	 * Returns the administrator contact of system (<code>system.sysContact.0</code>).
47  	 * @return Administrator contact of system.
48  	 */
49  	String getSysContact ();
50  
51  	/**
52  	 * Sets the administrator contact of system (<code>system.sysContact.0</code>).
53  	 * @param sysContact Administrator contact of system.
54  	 */
55  	void setSysContact (String sysContact);
56  
57  	/**
58  	 * Returns the elapsed time in milliseconds since the last boot (<code>system.sysUpTime.0</code>).
59  	 * @return Elapsed time in milliseconds since the last boot.
60  	 */
61  	long getSysUpTime ();
62  
63  }