273
|
1 /*
|
|
2 * Copyright (c) 2012-2013 Christian Plattner. All rights reserved.
|
|
3 * Please refer to the LICENSE.txt for licensing details.
|
|
4 */
|
|
5 package ch.ethz.ssh2;
|
|
6
|
|
7 import java.io.InputStream;
|
|
8 import java.io.OutputStream;
|
|
9
|
|
10 /**
|
|
11 * A ServerSession represents the server-side of a session channel.
|
307
|
12 *
|
273
|
13 * @see Session
|
307
|
14 *
|
273
|
15 * @author Christian
|
|
16 *
|
|
17 */
|
307
|
18 public interface ServerSession {
|
|
19 public InputStream getStdout();
|
|
20
|
|
21 public InputStream getStderr();
|
273
|
22
|
307
|
23 public OutputStream getStdin();
|
273
|
24
|
307
|
25 public void close();
|
273
|
26 } |