Class AMNetOutputStream
Default output sink for redirecting Java stderr into .NET code.
Inherited Members
Namespace: ApacheMinaSSHD.NET.Wrapper.Logging
Assembly: ApacheMinaSSHD.NET.Wrapper.dll
Syntax
public class AMNetOutputStream
Constructors
| Edit this page View SourceAMNetOutputStream(Action<string>?)
Creates a stderr redirector.
Declaration
public AMNetOutputStream(Action<string>? writeLine = null)
Parameters
| Type | Name | Description |
|---|---|---|
| Action<string> | writeLine | Optional callback that receives each redirected line. |
Methods
| Edit this page View SourceRedirectStandardError()
Redirects the SSH runtime standard error stream to the configured callback.
Declaration
public void RedirectStandardError()