net.sf.commons.ssh
Interface ShellSession

All Superinterfaces:
Session
All Known Subinterfaces:
ExecSession

public interface ShellSession
extends Session

Since:
1.0
Author:
Sergey Vidyuk (svidyuk at gmail dot com)
See Also:
Features.SESSION_SHELL

Method Summary
 java.io.InputStream getInputStream()
          Returns current input stream of this connection
 java.io.OutputStream getOutputStream()
          Returns current output stream of this connection
 
Methods inherited from interface net.sf.commons.ssh.Session
close, isClosed
 

Method Detail

getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException
Returns current input stream of this connection

Returns:
current input stream of this connection
Throws:
java.io.IOException - if I/O exception occurs
Since:
1.0
See Also:
Features.SESSION_SHELL

getOutputStream

java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Returns current output stream of this connection

Returns:
current output stream of this connection
Throws:
java.io.IOException - if I/O exception occurs
Since:
1.0
See Also:
Features.SESSION_SHELL


Copyright © 2009. All Rights Reserved.