KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > coachEmfServicesComponents > SnmpTrapConfigData


1 package ist.coach.coachEmfServicesComponents;
2
3 /**
4  * @author Administrator (digi@intracom.gr)
5  *
6  * Copyright (c) Intracom S.A., N.T., 2003
7  */

8
9 import org.opennms.protocols.snmp.SnmpObjectId;
10
11 public class SnmpTrapConfigData {
12     
13     public String JavaDoc id;
14     
15     public int identifier;
16
17     public SnmpObjectId oid;
18     
19     public String JavaDoc 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