netboxupdatable.java

来自「监控大型网络的软件。能够自动发现拓扑结构」· Java 代码 · 共 45 行

JAVA
45
字号
package no.ntnu.nav.getDeviceData.dataplugins;/** * <p> Allowed some items of a Netbox to be updated. The Netbox object * can be casted to this class, and by doing the cast the intention to * do updates it is made explicit.  </p> */ public interface NetboxUpdatable{	/**	 * Set the sysname of the netbox.	 */	public void setSysname(String sysname);	/**	 * Return the typeid for the type. Normally only required if you	 * want to make updates to the database directly.	 */	public String getTypeid();	/**	 * Call this to force recreation of the netbox. It will be deleted	 * from the database, along with any additional information, and a	 * new record started.	 */	public void refetch();	public void restart();	public void setSnmpVersion(int snmpVersion);	/**	 * <p> Remove the netbox; calling this method guarantees that no	 * other plugins will process it. This method is typically used if	 * the netbox is deleted from the database.  </p>	 *	 * @param updateNetboxes Specifies if a new netbox has been added to	 * the database and gDD needs to update itself.	 *	 */	//public void remove(boolean updateNetboxes);}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?