net.sf.commons.ssh
Interface Session

All Known Subinterfaces:
ExecSession, SftpSession, ShellSession

public interface Session

Author:
Sergey Vidyuk (svidyuk at gmail dot com)

Method Summary
 void close()
          Closes this session.
 boolean isClosed()
          Returns true if session is closed already, false otherwise
 

Method Detail

close

void close()
           throws java.io.IOException
Closes this session.

Throws:
java.io.IOException - if I/O exception occurs
Since:
1.0

isClosed

boolean isClosed()
                 throws java.io.IOException
Returns true if session is closed already, false otherwise

Returns:
true if session is closed already,
Throws:
java.io.IOException - if I/O exception occurs
Since:
1.0


Copyright © 2009. All Rights Reserved.