Quantcast
Channel: C# Based Open Source SNMP Library for .NET and Mono
Viewing all articles
Browse latest Browse all 576

Closed Unassigned: Make ObjectStore to inherit from IObjectStore [7286]

$
0
0
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);
}

Viewing all articles
Browse latest Browse all 576

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>