Mercurial > 510Connectbot
diff src/ch/ethz/ssh2/ServerSessionCallback.java @ 307:071eccdff8ea ganymed
fix java formatting
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Wed, 30 Jul 2014 14:16:58 -0700 |
parents | 91a31873c42a |
children |
line wrap: on
line diff
--- a/src/ch/ethz/ssh2/ServerSessionCallback.java Wed Jul 30 12:09:51 2014 -0700 +++ b/src/ch/ethz/ssh2/ServerSessionCallback.java Wed Jul 30 14:16:58 2014 -0700 @@ -26,42 +26,41 @@ * <p/> * If you want to signal a fatal error, then please throw an <code>IOException</code>. Currently, this will * tear down the whole SSH connection. - * + * * @see ServerSession - * + * * @author Christian * */ -public interface ServerSessionCallback -{ - public Runnable requestPtyReq(ServerSession ss, PtySettings pty) throws IOException; +public interface ServerSessionCallback { + public Runnable requestPtyReq(ServerSession ss, PtySettings pty) throws IOException; - public Runnable requestEnv(ServerSession ss, String name, String value) throws IOException; + public Runnable requestEnv(ServerSession ss, String name, String value) throws IOException; - public Runnable requestShell(ServerSession ss) throws IOException; + public Runnable requestShell(ServerSession ss) throws IOException; - public Runnable requestExec(ServerSession ss, String command) throws IOException; + public Runnable requestExec(ServerSession ss, String command) throws IOException; - public Runnable requestSubsystem(ServerSession ss, String subsystem) throws IOException; + public Runnable requestSubsystem(ServerSession ss, String subsystem) throws IOException; - /** - * When the window (terminal) size changes on the client side, it MAY send a message to the other side to inform it of the new dimensions. - * - * @param ss the corresponding session - * @param term_width_columns - * @param term_height_rows - * @param term_width_pixels - */ - public void requestWindowChange(ServerSession ss, int term_width_columns, int term_height_rows, - int term_width_pixels, int term_height_pixels) throws IOException; + /** + * When the window (terminal) size changes on the client side, it MAY send a message to the other side to inform it of the new dimensions. + * + * @param ss the corresponding session + * @param term_width_columns + * @param term_height_rows + * @param term_width_pixels + */ + public void requestWindowChange(ServerSession ss, int term_width_columns, int term_height_rows, + int term_width_pixels, int term_height_pixels) throws IOException; - /** - * A signal can be delivered to the remote process/service. Some systems may not implement signals, in which case they SHOULD ignore this message. - * - * @param ss the corresponding session - * @param signal (a string without the "SIG" prefix) - * @return - * @throws IOException - */ + /** + * A signal can be delivered to the remote process/service. Some systems may not implement signals, in which case they SHOULD ignore this message. + * + * @param ss the corresponding session + * @param signal (a string without the "SIG" prefix) + * @return + * @throws IOException + */ }