1 /******************************************************************************* 2 * Copyright (c) 2011 SAP AG 3 * 4 * This program and the accompanying materials 5 * are made available under the terms of the Eclipse Public License 2.0 6 * which accompanies this distribution, and is available at 7 * https://www.eclipse.org/legal/epl-2.0/ 8 * 9 * SPDX-License-Identifier: EPL-2.0 10 * 11 * Contributors: 12 * Lazar Kirchev, SAP AG - initial API and implementation 13 *******************************************************************************/ 14 15 package org.eclipse.equinox.console.ssh; 16 17 import java.io.InputStream; 18 19 import org.eclipse.equinox.console.common.ConsoleInputStream; 20 import org.eclipse.equinox.console.common.ConsoleOutputStream; 21 import org.eclipse.equinox.console.common.InputHandler; 22 23 /** 24 * This class customizes the generic handler with a concrete content processor, 25 * which provides ssh protocol handling. 26 * 27 */ 28 public class SshInputHandler extends InputHandler { SshInputHandler(InputStream input, ConsoleInputStream in, ConsoleOutputStream out)29 public SshInputHandler(InputStream input, ConsoleInputStream in, ConsoleOutputStream out) { 30 super(input, in, out); 31 inputScanner = new SshInputScanner(in, out); 32 } 33 } 34