Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
menees committed Aug 31, 2022
1 parent c1dbd0f commit 7d820a0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/Menees.Remoting/MessageServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public sealed class MessageServer<TIn, TOut> : MessageNode<TIn, TOut>, IServer
/// </param>
/// <param name="serverPath">The path used to expose the service.</param>
/// <param name="maxListeners">The maximum number of server listener tasks to start.</param>
/// <param name="minListeners">The minimim number of server listener tasks to start.</param>
/// <param name="minListeners">The minimum number of server listener tasks to start.</param>
/// <param name="loggerFactory">An optional factory for creating type-specific server loggers for status information.</param>
public MessageServer(
Func<TIn, Task<TOut>> requestHandler,
Expand All @@ -62,7 +62,7 @@ public MessageServer(
/// </param>
/// <param name="serverPath">The path used to expose the service.</param>
/// <param name="maxListeners">The maximum number of server listener tasks to start.</param>
/// <param name="minListeners">The minimim number of server listener tasks to start.</param>
/// <param name="minListeners">The minimum number of server listener tasks to start.</param>
/// <param name="loggerFactory">An optional factory for creating type-specific server loggers for status information.</param>
public MessageServer(
Func<TIn, CancellationToken, Task<TOut>> requestHandler,
Expand Down
4 changes: 2 additions & 2 deletions src/Menees.Remoting/RmiServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

/// <summary>
/// Exposes the <typeparamref name="TServiceInterface"/> interface from a given service object instance
/// as a remotely invokable server.
/// as a remotely invocable server.
/// </summary>
/// <typeparam name="TServiceInterface">The interface to make available for remote invocation.</typeparam>
public sealed class RmiServer<TServiceInterface> : RmiNode<TServiceInterface>, IServer
Expand All @@ -38,7 +38,7 @@ public sealed class RmiServer<TServiceInterface> : RmiNode<TServiceInterface>, I
/// <param name="serviceInstance">An instance of <typeparamref name="TServiceInterface"/> on which to execute remote invocations.</param>
/// <param name="serverPath">The path used to expose the service.</param>
/// <param name="maxListeners">The maximum number of server listener tasks to start.</param>
/// <param name="minListeners">The minimim number of server listener tasks to start.</param>
/// <param name="minListeners">The minimum number of server listener tasks to start.</param>
/// <param name="loggerFactory">An optional factory for creating type-specific server loggers for status information.</param>
public RmiServer(
TServiceInterface serviceInstance,
Expand Down
2 changes: 1 addition & 1 deletion src/Menees.Remoting/ServerSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public ServerSettings(string serverPath)
public int MaxListeners { get; set; } = MaxAllowedListeners;

/// <summary>
/// Gets or sets the minimim number of server listener tasks to start.
/// Gets or sets the minimum number of server listener tasks to start.
/// </summary>
/// <remarks>
/// This defaults to 1.
Expand Down
6 changes: 5 additions & 1 deletion tests/Menees.Remoting.TestHost/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,11 @@ public static int Main(string[] args)

// Sometimes a lighter weight option is to use SysInternals PipeList utility from PowerShell
// to see what pipes are open: .\pipelist.exe |select-string Menees
// Debugger.Launch();
// Or use PowerShell dir command: dir -path \\.\pipe\ -filter *Menees* |select Name
// Or use the C# interactive window:
// Directory.EnumerateFiles(@"\\.\pipe\", "*Menees*", SearchOption.AllDirectories)
/* Debugger.Launch(); */

if (args.Length != RequiredArgCount)
{
exitCode = FataError(ExitCode.MissingArgs, $"Usage: {nameof(TestHost)} AssemblyPath TypeName ServerPathPrefix Max Min");
Expand Down

0 comments on commit 7d820a0

Please sign in to comment.