1 package ist.coach.coachEmsMibComponents.LogicalInterfaceProviderComposition; 2 3 import org.omg.CosNaming.NameComponent ; 4 import intt.itu.itut_x780.SourceIndicatorType; 5 6 public class LogicalInterfaceDataStructure { 7 8 public int ifIndex; 9 public NameComponent [] name; 10 public String objectclass; 11 public String [] packages; 12 public SourceIndicatorType sourceIndicator; 13 public short deletePolicy; 14 16 private int notificationIdentifier; 17 private String mgmtIpAddress; 18 private int snmpPort; 19 private int supportedSnmpVersions; 20 private String ifDescr; 21 22 public LogicalInterfaceDataStructure() {} 23 24 public LogicalInterfaceDataStructure( 25 int ifIndex, 26 NameComponent [] name, 27 String objectclass, 28 String [] packages, 29 SourceIndicatorType sourceIndicator, 30 short deletePolicy, 31 String mgmtIpAddress, 33 int snmpPort, 34 int supportedSnmpVersions, 35 String ifDescr) { 36 37 this.ifIndex = ifIndex; 38 this.name = name; 39 this.objectclass = objectclass; 40 this.packages = packages; 41 this.sourceIndicator = sourceIndicator; 42 this.deletePolicy = deletePolicy; 43 this.notificationIdentifier = 0; 45 this.mgmtIpAddress = mgmtIpAddress; 46 this.snmpPort = snmpPort; 47 this.supportedSnmpVersions = supportedSnmpVersions; 48 this.ifDescr = ifDescr; 49 } 50 51 public int getUniqueNotificationIdentifier() { 52 53 notificationIdentifier++; 54 55 return (notificationIdentifier); 56 } 57 58 public int getifIndex() { 59 return ifIndex; 60 } 61 62 public String getObjectClass() { 63 return objectclass; 64 } 65 66 public NameComponent [] getName() { 67 return name; 68 } 69 70 public String [] getPackages() { 71 return packages; 72 } 73 74 public SourceIndicatorType getSourceIndicator() { 75 return sourceIndicator; 76 } 77 78 public short getDeletePolicy() { 79 return deletePolicy; 80 } 81 82 public String getMgmtIpAddress() { 83 return mgmtIpAddress; 84 } 85 86 public int getSnmpPort() { 87 return snmpPort; 88 } 89 90 public int getSupportedSnmpVersions() { 91 return supportedSnmpVersions; 92 } 93 94 public String getIfDescr() { 95 return ifDescr; 96 } 97 } 98 | Popular Tags |