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/02/26 12:28:51 $
|
---|
19 | * $Name: rel1-2-1 $
|
---|
20 | *****************************************************************************/
|
---|
21 | package mindbright.ssh;
|
---|
22 |
|
---|
23 | import java.net.*;
|
---|
24 | import java.io.*;
|
---|
25 |
|
---|
26 | public interface SSHClientUser {
|
---|
27 | public String getSrvHost() throws IOException;
|
---|
28 | public int getSrvPort();
|
---|
29 | public Socket getProxyConnection() throws IOException;
|
---|
30 | public String getDisplay();
|
---|
31 | public int getMaxPacketSz();
|
---|
32 | public int getAliveInterval();
|
---|
33 |
|
---|
34 | public boolean wantX11Forward();
|
---|
35 | public boolean wantPrivileged();
|
---|
36 | public boolean wantPTY();
|
---|
37 |
|
---|
38 | public SSHInteractor getInteractor();
|
---|
39 | }
|
---|