g-Eclipse
Release 1.0.0

eu.geclipse.core
Interface IBidirectionalConnection

All Known Implementing Classes:
SSHPersistantConnection

public interface IBidirectionalConnection

Interface for bidirectional connections.


Method Summary
 void close()
          Closes the connection.
 java.io.InputStream getInputStream()
          Returns the InputStream of the connection.
 java.io.OutputStream getOutputStream()
          Returns the OutputStream of the connection.
 

Method Detail

getInputStream

java.io.InputStream getInputStream()
                                   throws java.io.IOException
Returns the InputStream of the connection.

Returns:
the InputStream of the connection.
Throws:
java.io.IOException - thrown if a connection error occurs.

getOutputStream

java.io.OutputStream getOutputStream()
                                     throws java.io.IOException
Returns the OutputStream of the connection.

Returns:
the OutputStream of the connection.
Throws:
java.io.IOException - thrown if a connection error occurs.

close

void close()
Closes the connection.


g-Eclipse
Release 1.0.0