/// <summary>
 /// Initializes a new instance of the <see cref="SnmpObjectIdentity"/> class.
 /// </summary>
 /// <param name="status">The object identity status</param>
 /// <param name="description">The object identity description</param>
 /// <param name="reference">The object identity reference</param>
 public SnmpObjectIdentity(
     SnmpStatus status,
     string description,
     string reference)
     : base("OBJECT-IDENTITY", description)
 {
     this.status    = status;
     this.reference = reference;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SnmpModuleCompliance"/> class.
 /// </summary>
 /// <param name="status">The type status</param>
 /// <param name="description">The type description</param>
 /// <param name="reference">The type reference</param>
 /// <param name="modules">The list of SNMP modules</param>
 public SnmpModuleCompliance(
     SnmpStatus status,
     string description,
     string reference,
     IList <SnmpModule> modules)
     : base("MODULE-COMPLIANCE", description)
 {
     this.status    = status;
     this.reference = reference;
     this.modules   = modules;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SnmpNotificationType"/> class.
 /// </summary>
 /// <param name="objects">the value objects</param>
 /// <param name="status">the notification type status</param>
 /// <param name="description">the notification type description</param>
 /// <param name="reference">the notification type reference, or null</param>
 public SnmpNotificationType(
     IList <MibValue> objects,
     SnmpStatus status,
     string description,
     string reference)
     : base("NOTIFICATION-TYPE", description)
 {
     this.objects   = objects;
     this.status    = status;
     this.reference = reference;
 }
Example #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SnmpNotificationGroup"/> class.
 /// </summary>
 /// <param name="notifications">The list of notification values</param>
 /// <param name="status">The type status</param>
 /// <param name="description">The type description</param>
 /// <param name="reference">The type reference, or null</param>
 public SnmpNotificationGroup(
     IList <MibValue> notifications,
     SnmpStatus status,
     string description,
     string reference)
     : base("NOTIFICATION-GROUP", description)
 {
     this.notifications = notifications;
     this.status        = status;
     this.reference     = reference;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SnmpObjectGroup"/> class.
 /// </summary>
 /// <param name="objects">The value objects</param>
 /// <param name="status">The object group status</param>
 /// <param name="description">The object group description</param>
 /// <param name="reference">The object group reference</param>
 public SnmpObjectGroup(
     IList <MibValue> objects,
     SnmpStatus status,
     string description,
     string reference)
     : base("OBJECT-GROUP", description)
 {
     this.objects   = objects;
     this.status    = status;
     this.reference = reference;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SnmpAgentCapabilities"/> class.
 /// </summary>
 /// <param name="productRelease">The product release</param>
 /// <param name="status">The type status</param>
 /// <param name="description">The type description</param>
 /// <param name="reference">The type reference or null</param>
 /// <param name="modules">The list of supported modules</param>
 public SnmpAgentCapabilities(
     string productRelease,
     SnmpStatus status,
     string description,
     string reference,
     IList <SnmpModuleSupport> modules)
     : base("AGENT-CAPABILITIES", description)
 {
     this.productRelease = productRelease;
     this.status         = status;
     this.reference      = reference;
     this.modules        = modules;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="SnmpTextualConvention"/> class.
 /// </summary>
 /// <param name="displayHint">The display hint, or null</param>
 /// <param name="status">The type status</param>
 /// <param name="description">The type description</param>
 /// <param name="reference">The type reference, or null</param>
 /// <param name="syntax">The type syntax</param>
 public SnmpTextualConvention(
     string displayHint,
     SnmpStatus status,
     string description,
     string reference,
     MibType syntax)
     : base("TEXTUAL-CONVENTION", description)
 {
     this.displayHint = displayHint;
     this.status      = status;
     this.reference   = reference;
     this.syntax      = syntax;
 }
Example #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SnmpObjectType"/> class.
 /// </summary>
 /// <param name="syntax">The object type syntax</param>
 /// <param name="units">The units description, or null</param>
 /// <param name="access">The access mode</param>
 /// <param name="status">The type status</param>
 /// <param name="description">The type description, or null</param>
 /// <param name="reference">The type reference, or null</param>
 /// <param name="index">The list of index objects</param>
 /// <param name="defaultValue">The default value, or null</param>
 public SnmpObjectType(
     MibType syntax,
     string units,
     SnmpAccess access,
     SnmpStatus status,
     string description,
     string reference,
     IList <SnmpIndex> index,
     MibValue defaultValue)
     : base("OBJECT-TYPE", description)
 {
     this.syntax       = syntax;
     this.units        = units;
     this.access       = access;
     this.status       = status;
     this.reference    = reference;
     this.index        = index;
     this.augments     = null;
     this.defaultValue = defaultValue;
 }