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