[jboss-cvs] JBossAS SVN: r111602 - branches/snmp4j-int/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Jun 13 16:56:48 EDT 2011


Author: thauser at redhat.com
Date: 2011-06-13 16:56:47 -0400 (Mon, 13 Jun 2011)
New Revision: 111602

Modified:
   branches/snmp4j-int/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/SnmpAgentServiceMBean.java
Log:
add Mib Resource name to the MBean interface

Modified: branches/snmp4j-int/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/SnmpAgentServiceMBean.java
===================================================================
--- branches/snmp4j-int/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/SnmpAgentServiceMBean.java	2011-06-13 20:56:27 UTC (rev 111601)
+++ branches/snmp4j-int/varia/src/main/java/org/jboss/jmx/adaptor/snmp/agent/SnmpAgentServiceMBean.java	2011-06-13 20:56:47 UTC (rev 111602)
@@ -22,7 +22,9 @@
 package org.jboss.jmx.adaptor.snmp.agent;
 
 import java.net.UnknownHostException;
+import java.util.Map;
 
+import javax.management.Notification;
 import javax.management.ObjectName;
 
 import org.jboss.mx.util.ObjectNameFactory;
@@ -48,6 +50,10 @@
    /** The name of the file containing SNMPv3 users */
    void setUsersResName(String usersResName);
    String getUsersResName();
+   
+   /**The name of the output file for the MIB */
+   void setMibResName(String mibResName);
+   String getMibResName();
 
    /** The name of the file containing the notification/trap mappings */
    void setNotificationMapResName(String notificationMapResName);
@@ -109,8 +115,12 @@
    long getTrapCount();
 
    // Operations ----------------------------------------------------
-
+   
    /**
+    * 
+    */
+   void sendSNMPNotification(String type, Map<String, Object> userData);
+   /**
     * Reconfigures the RequestHandler, that is 
     * reponsible for handling get requests etc.
     */



More information about the jboss-cvs-commits mailing list