Interface CommandDirectErrorStreamAware

All Known Subinterfaces:
AsyncCommand, Command, CommandDirectStreamsAware
All Known Implementing Classes:
AbstractCommandSupport, AbstractFileSystemCommand, InvertedShellWrapper, UnknownCommand
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CommandDirectErrorStreamAware
Author:
Apache MINA SSHD Project
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Set the error stream that can be used by the shell to write its errors.
  • Method Details

    • setErrorStream

      void setErrorStream(OutputStream err)
      Set the error stream that can be used by the shell to write its errors.
      Parameters:
      err - The OutputStream used by the shell to write its errors