1 | /******************************************************************************
|
---|
2 | *
|
---|
3 | * Copyright (c) 1998,99 by Mindbright Technology AB, Stockholm, Sweden.
|
---|
4 | * www.mindbright.se, [email protected]
|
---|
5 | *
|
---|
6 | * This program is free software; you can redistribute it and/or modify
|
---|
7 | * it under the terms of the GNU General Public License as published by
|
---|
8 | * the Free Software Foundation; either version 2 of the License, or
|
---|
9 | * (at your option) any later version.
|
---|
10 | *
|
---|
11 | * This program is distributed in the hope that it will be useful,
|
---|
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | * GNU General Public License for more details.
|
---|
15 | *
|
---|
16 | *****************************************************************************
|
---|
17 | * $Author: mats $
|
---|
18 | * $Date: 2000/03/09 11:04:29 $
|
---|
19 | * $Name: rel1-2-1 $
|
---|
20 | *****************************************************************************/
|
---|
21 | package mindbright.ssh;
|
---|
22 |
|
---|
23 | import java.io.IOException;
|
---|
24 |
|
---|
25 | public class SSHInteractorAdapter implements SSHInteractor {
|
---|
26 |
|
---|
27 | public void startNewSession(SSHClient client) {
|
---|
28 | }
|
---|
29 | public void sessionStarted(SSHClient client) {
|
---|
30 | }
|
---|
31 |
|
---|
32 | public void connected(SSHClient client) {
|
---|
33 | }
|
---|
34 | public void open(SSHClient client) {
|
---|
35 | }
|
---|
36 | public void disconnected(SSHClient client, boolean graceful) {
|
---|
37 | }
|
---|
38 |
|
---|
39 | public void report(String msg) {
|
---|
40 | }
|
---|
41 | public void alert(String msg) {
|
---|
42 | }
|
---|
43 |
|
---|
44 | public void propsStateChanged(SSHPropertyHandler props) {
|
---|
45 | }
|
---|
46 | public boolean askConfirmation(String message, boolean defAnswer) {
|
---|
47 | return defAnswer;
|
---|
48 | }
|
---|
49 |
|
---|
50 | public boolean quietPrompts() {
|
---|
51 | return true;
|
---|
52 | }
|
---|
53 | public String promptLine(String prompt, String defaultVal) throws IOException {
|
---|
54 | return null;
|
---|
55 | }
|
---|
56 | public String promptPassword(String prompt) throws IOException {
|
---|
57 | return null;
|
---|
58 | }
|
---|
59 |
|
---|
60 | public boolean isVerbose() {
|
---|
61 | return false;
|
---|
62 | }
|
---|
63 |
|
---|
64 | }
|
---|