1 11 12 13 package com.sun.jmx.snmp.agent; 14 15 16 17 import javax.management.Notification ; 20 import javax.management.ObjectName ; 21 22 41 42 public class SnmpTableEntryNotification extends Notification { 43 44 58 SnmpTableEntryNotification(String type, Object source, 59 long sequenceNumber, long timeStamp, 60 Object entry, ObjectName entryName) { 61 62 super(type, source, sequenceNumber, timeStamp); 63 this.entry = entry; 64 this.name = entryName; 65 } 66 67 74 public Object getEntry() { 75 return entry; 76 } 77 78 85 public ObjectName getEntryName() { 86 return name; 87 } 88 89 92 98 public static final String SNMP_ENTRY_ADDED = 99 new String ("jmx.snmp.table.entry.added"); 100 101 107 public static final String SNMP_ENTRY_REMOVED = 108 new String ("jmx.snmp.table.entry.removed"); 109 110 113 117 private final Object entry; 118 119 124 private final ObjectName name; 125 126 private static final long serialVersionUID = 5832592016227890252L; 129 } 130 | Popular Tags |