Interface ChannelSessionAware

  • 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 ChannelSessionAware
    Command can implement this optional interface to receive a reference to ChannelSession.
    • Method Detail

      • setChannelSession

        void setChannelSession​(ChannelSession session)
        Receives the channel in which the command is being executed.
        Parameters:
        session - never null