org.apache.sshd.server
Interface ExitCallback


public interface ExitCallback

Callback used by the shell to notify the SSH server is has exited


Method Summary
 void onExit(int exitValue)
          Informs the SSH server that the shell has exited
 void onExit(int exitValue, String exitMessage)
          Informs the SSH client/server that the shell has exited
 

Method Detail

onExit

void onExit(int exitValue)
Informs the SSH server that the shell has exited

Parameters:
exitValue - the exit value

onExit

void onExit(int exitValue,
            String exitMessage)
Informs the SSH client/server that the shell has exited

Parameters:
exitValue - the exit value
exitMessage - exit value description


Copyright © 2008-2012 Apache Software Foundation. All Rights Reserved.