SnmpMibTable.java 文件源码

java
阅读 30 收藏 0 点赞 0 评论 0

项目:OpenJSharp 作者:
/**
 * Return a <CODE>NotificationInfo</CODE> object containing the
 * notification class and the notification type sent by the
 * <CODE>SnmpMibTable</CODE>.
 */
@Override
public MBeanNotificationInfo[] getNotificationInfo() {

    String[] types = {SnmpTableEntryNotification.SNMP_ENTRY_ADDED,
                      SnmpTableEntryNotification.SNMP_ENTRY_REMOVED};

    MBeanNotificationInfo[] notifsInfo = {
        new MBeanNotificationInfo
        (types, "com.sun.jmx.snmp.agent.SnmpTableEntryNotification",
         "Notifications sent by the SnmpMibTable")
    };

    return notifsInfo;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号