1 package ist.coach.coachEmsMibComponents.SnmpProtocolMonitorProviderComposition; 2 3 import org.omg.CosNaming.NameComponent ; 4 import intt.itu.itut_x780.SourceIndicatorType; 5 6 public class SnmpProtocolMonitorDataStructure { 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 SnmpProtocolMonitorDataStructure() {} 21 22 public SnmpProtocolMonitorDataStructure( 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 44 public String 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 |