lextudio / sharpsnmplib

Sharp SNMP Library- Open Source SNMP for .NET
https://sharpsnmp.com
MIT License
356 stars 152 forks source link

Make ObjectStore to inherit from IObjectStore #216

Closed lextudio-support closed 4 hours ago

lextudio-support commented 4 hours ago

Make ObjectStore inherit from an Interface: IObjectStore, in order to allow customization of the ObjectStore: https://sharpsnmplib.codeplex.com/SourceControl/latest#SharpSnmpLib/Pipeline/ObjectStore.cs

This is necessary for applications which do not necessarly know all OID's managed by the SNMP Server. The Current Implementation requires knowledge of all OID's on startup/before requesting the Object.

public interface IObjectStore{ public ScalarObject GetObject(ObjectIdentifier id); public ScalarObject GetNextObject(ObjectIdentifier id); public void Add(ISnmpObject newObject); }

Original Reported Date: 2016-03-15T08:46:23.47-07:00 Planned For Release:

Original CodePlex ID: 7286

lextudio-support commented 4 hours ago

Copied from CodePlex without authors:

Resolved in https://github.com/lextm/sharpsnmplib/pull/14

Original Posted Date: 2016-03-28T20:21:20.91-07:00

lextudio-support commented 4 hours ago

Original Closed Date: 2016-03-28T20:21:29.613-07:00