Module jdk.jshell

Class StreamingExecutionControl

    • Constructor Detail

      • StreamingExecutionControl

        public StreamingExecutionControl​(ObjectOutput out,
                                         ObjectInput in)
        Creates an instance.
        Parameters:
        out - the output for commands
        in - the input for command responses
    • Method Detail

      • close

        public void close()
        Closes the execution engine. Send an exit command to the remote agent.
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface ExecutionControl