1 package ist.coach.coachEmsMibComponents.IpProtocolMonitorProviderComposition; 2 3 import org.omg.CosNaming.NameComponent ; 4 import intt.itu.itut_x780.SourceIndicatorType; 5 6 public class IpProtocolMonitorDataStructure { 7 8 public NameComponent [] name; 9 public String objectclass; 10 public String [] packages; 11 public SourceIndicatorType sourceIndicator; 12 public short deletePolicy; 13 14 private int notificationIdentifier; 15 public String mgmtIpAddress; 16 private int snmpPort; 17 private int supportedSnmpVersions; 18 19 20 public IpProtocolMonitorDataStructure() {} 21 22 public IpProtocolMonitorDataStructure( 23 NameComponent [] name, 24 String objectclass, 25 String [] packages, 26 SourceIndicatorType sourceIndicator, 27 short deletePolicy, 28 String 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 public int getUniqueNotificationIdentifier() { 44 45 this.notificationIdentifier++; 46 47 return (this.notificationIdentifier); 48 } 49 50 public String getMgmtIpAddress() { 51 return mgmtIpAddress; 52 } 53 54 public int getSnmpPort() { 55 return snmpPort; 56 } 57 58 public int getSupportedSnmpVersions() { 59 return supportedSnmpVersions; 60 } 61 } 62 | Popular Tags |