1 package ist.coach.coachEmfServicesComponents.SnmpAdapterProviderComposition; 2 3 8 9 import org.opennms.protocols.snmp.SnmpObjectId; 10 11 public class SnmpTrapConfigData { 12 13 public String id; 14 15 public int identifier; 16 17 public SnmpObjectId oid; 18 19 public String objectclass; 20 21 public SnmpObjectId valueOid; 22 23 24 public SnmpTrapConfigData() { 25 26 this.id = null; 27 this.identifier = -1; 28 this.oid = null; 29 this.objectclass = null; 30 this.valueOid = null; 31 } 32 33 public void print() { 34 System.out.println("id: " + this.id); 35 System.out.println("oid: " + this.oid); 36 System.out.println("objectclass: " + this.objectclass); 37 System.out.println("identifier:" + this.identifier); 38 if (valueOid != null) 39 System.out.println("Value Identifier: " + this.valueOid); 40 41 } 42 43 44 } 45 | Popular Tags |