Interface CommandDirectOutputStreamAware

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 CommandDirectOutputStreamAware
Author:
Apache MINA SSHD Project
  • Method Summary

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

    • setOutputStream

      void setOutputStream(OutputStream out)
      Set the output stream that can be used by the shell to write its output.
      Parameters:
      out - The OutputStream used by the shell to write its output