org.crsh.shell
Interface ShellProcessContext

All Superinterfaces:
Consumer<Chunk>, Flushable, InteractionContext<Chunk>, ScreenContext<Chunk>
All Known Implementing Classes:
ClientProcessContext, JLineProcessContext, ProcessContext, SSHInlineShellProcessContext

public interface ShellProcessContext
extends InteractionContext<Chunk>

The context provided when a ShellProcess is executed.


Method Summary
 void end(ShellResponse response)
          This method is invoked when the process ends.
 
Methods inherited from interface org.crsh.shell.InteractionContext
getProperty, readLine, releaseAlternateBuffer, takeAlternateBuffer
 
Methods inherited from interface org.crsh.shell.ScreenContext
getHeight, getWidth
 
Methods inherited from interface org.crsh.io.Consumer
getConsumedType, provide
 
Methods inherited from interface java.io.Flushable
flush
 

Method Detail

end

void end(ShellResponse response)
This method is invoked when the process ends.

Parameters:
response - the shell response


Copyright © 2014 eXo Platform SAS. All Rights Reserved.