-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
184 additions
and
0 deletions.
There are no files selected for viewing
76 changes: 76 additions & 0 deletions
76
doc/api-list/Smdn.Net.MuninNode/Smdn.Net.MuninNode-net5.0.apilist.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
// Smdn.Net.MuninNode.dll (Smdn.Net.MuninNode-1.0beta3 (net5.0)) | ||
// Name: Smdn.Net.MuninNode | ||
// AssemblyVersion: 1.0.0.0 | ||
// InformationalVersion: 1.0beta3 (net5.0) | ||
// TargetFramework: .NETCoreApp,Version=v5.0 | ||
// Configuration: Release | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
using System.Threading.Tasks; | ||
using Smdn.Net.MuninPlugin; | ||
|
||
namespace Smdn.Net.MuninNode { | ||
public class LocalNode : IDisposable { | ||
public LocalNode(IReadOnlyList<Plugin> plugins, string hostName, TimeSpan timeout, int portNumber, Version nodeVersion = null, IServiceProvider serviceProvider = null) {} | ||
|
||
public string HostName { get; } | ||
public IPEndPoint LocalEndPoint { get; } | ||
public IReadOnlyList<Plugin> Plugins { get; } | ||
public TimeSpan Timeout { get; } | ||
|
||
[AsyncStateMachine] | ||
public Task AcceptClientAsync() {} | ||
public void Close() {} | ||
public void Start() {} | ||
void IDisposable.Dispose() {} | ||
} | ||
} | ||
|
||
namespace Smdn.Net.MuninPlugin { | ||
public class Plugin { | ||
public Plugin(string name, PluginGraphConfiguration graphConfiguration, PluginFieldConfiguration fieldConfiguration) {} | ||
|
||
public PluginFieldConfiguration FieldConfiguration { get; } | ||
public PluginGraphConfiguration GraphConfiguration { get; } | ||
public string Name { get; } | ||
} | ||
|
||
public abstract class PluginFieldConfiguration { | ||
protected PluginFieldConfiguration(string defaultGraphStyle, Range? warningValueRange = null, Range? criticalValueRange = null) {} | ||
|
||
public Range? CriticalValueRange { get; } | ||
public string DefaultGraphStyle { get; } | ||
public Range? WarningValueRange { get; } | ||
|
||
public abstract IEnumerable<PluginField> FetchFields(); | ||
} | ||
|
||
public class PluginGraphConfiguration { | ||
public PluginGraphConfiguration(string title, string category, string verticalLabel, bool scale, string arguments, TimeSpan updateRate, int? width = null, int? height = null) {} | ||
|
||
public string Arguments { get; } | ||
public string Category { get; } | ||
public int? Height { get; } | ||
public bool Scale { get; } | ||
public string Title { get; } | ||
public TimeSpan UpdateRate { get; } | ||
public string VerticalLabel { get; } | ||
public int? Width { get; } | ||
} | ||
|
||
public readonly struct PluginField { | ||
public PluginField(string label, double @value, string graphStyle = null) {} | ||
public PluginField(string name, string label, double @value, string graphStyle = null) {} | ||
|
||
public string GraphStyle { get; } | ||
public string Label { get; } | ||
public string Name { get; } | ||
public double? Value { get; } | ||
|
||
public static PluginField CreateUnknownValueField(string label, string graphStyle = null) {} | ||
public static PluginField CreateUnknownValueField(string name, string label, string graphStyle = null) {} | ||
} | ||
} | ||
|
76 changes: 76 additions & 0 deletions
76
doc/api-list/Smdn.Net.MuninNode/Smdn.Net.MuninNode-netstandard2.1.apilist.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
// Smdn.Net.MuninNode.dll (Smdn.Net.MuninNode-1.0beta3 (netstandard2.1)) | ||
// Name: Smdn.Net.MuninNode | ||
// AssemblyVersion: 1.0.0.0 | ||
// InformationalVersion: 1.0beta3 (netstandard2.1) | ||
// TargetFramework: .NETStandard,Version=v2.1 | ||
// Configuration: Release | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Net; | ||
using System.Threading.Tasks; | ||
using Smdn.Net.MuninPlugin; | ||
|
||
namespace Smdn.Net.MuninNode { | ||
public class LocalNode : IDisposable { | ||
public LocalNode(IReadOnlyList<Plugin> plugins, string hostName, TimeSpan timeout, int portNumber, Version nodeVersion = null, IServiceProvider serviceProvider = null) {} | ||
|
||
public string HostName { get; } | ||
public IPEndPoint LocalEndPoint { get; } | ||
public IReadOnlyList<Plugin> Plugins { get; } | ||
public TimeSpan Timeout { get; } | ||
|
||
[AsyncStateMachine] | ||
public Task AcceptClientAsync() {} | ||
public void Close() {} | ||
public void Start() {} | ||
void IDisposable.Dispose() {} | ||
} | ||
} | ||
|
||
namespace Smdn.Net.MuninPlugin { | ||
public class Plugin { | ||
public Plugin(string name, PluginGraphConfiguration graphConfiguration, PluginFieldConfiguration fieldConfiguration) {} | ||
|
||
public PluginFieldConfiguration FieldConfiguration { get; } | ||
public PluginGraphConfiguration GraphConfiguration { get; } | ||
public string Name { get; } | ||
} | ||
|
||
public abstract class PluginFieldConfiguration { | ||
protected PluginFieldConfiguration(string defaultGraphStyle, Range? warningValueRange = null, Range? criticalValueRange = null) {} | ||
|
||
public Range? CriticalValueRange { get; } | ||
public string DefaultGraphStyle { get; } | ||
public Range? WarningValueRange { get; } | ||
|
||
public abstract IEnumerable<PluginField> FetchFields(); | ||
} | ||
|
||
public class PluginGraphConfiguration { | ||
public PluginGraphConfiguration(string title, string category, string verticalLabel, bool scale, string arguments, TimeSpan updateRate, int? width = null, int? height = null) {} | ||
|
||
public string Arguments { get; } | ||
public string Category { get; } | ||
public int? Height { get; } | ||
public bool Scale { get; } | ||
public string Title { get; } | ||
public TimeSpan UpdateRate { get; } | ||
public string VerticalLabel { get; } | ||
public int? Width { get; } | ||
} | ||
|
||
public readonly struct PluginField { | ||
public PluginField(string label, double @value, string graphStyle = null) {} | ||
public PluginField(string name, string label, double @value, string graphStyle = null) {} | ||
|
||
public string GraphStyle { get; } | ||
public string Label { get; } | ||
public string Name { get; } | ||
public double? Value { get; } | ||
|
||
public static PluginField CreateUnknownValueField(string label, string graphStyle = null) {} | ||
public static PluginField CreateUnknownValueField(string name, string label, string graphStyle = null) {} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters