KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > ist > coach > coachEmsMibComponents > SnmpProtocolMonitorProviderComposition > SnmpProtocolMonitorDataStructure


1 package ist.coach.coachEmsMibComponents.SnmpProtocolMonitorProviderComposition;
2
3 import org.omg.CosNaming.NameComponent JavaDoc;
4 import intt.itu.itut_x780.SourceIndicatorType;
5
6 public class SnmpProtocolMonitorDataStructure {
7
8         public NameComponent JavaDoc [] name;
9         public String JavaDoc objectclass;
10         public String JavaDoc [] packages;
11         public SourceIndicatorType sourceIndicator;
12         public short deletePolicy;
13
14         private int notificationIdentifier;
15         public String JavaDoc mgmtIpAddress;
16         private int snmpPort;
17         private int supportedSnmpVersions;
18
19
20     public SnmpProtocolMonitorDataStructure() {}
21
22     public SnmpProtocolMonitorDataStructure(
23         NameComponent JavaDoc [] name,
24             String JavaDoc objectclass,
25             String JavaDoc [] packages,
26             SourceIndicatorType sourceIndicator,
27             short deletePolicy,
28             String JavaDoc mgmtIpAddress,
29             int snmpPort,
30             int supportedSnmpVersions) {
31
32             this.name = name;
33             this.objectclass = objectclass;
34             this.packages = packages;
35             this.sourceIndicator = sourceIndicator;
36             this.deletePolicy = deletePolicy;
37             this.notificationIdentifier = 0;
38             this.mgmtIpAddress = mgmtIpAddress;
39             this.snmpPort = snmpPort;
40             this.supportedSnmpVersions = supportedSnmpVersions;
41           }
42
43
44         public String JavaDoc getMgmtIpAddress() {
45             return mgmtIpAddress;
46         }
47
48         public int getSnmpPort() {
49             return snmpPort;
50         }
51
52         public int getSupportedSnmpVersions() {
53             return supportedSnmpVersions;
54         }
55     }
56
Popular Tags