org.abstracthorizon.danube.connection
Interface StreamConnection

All Superinterfaces:
Adaptable, Connection

public interface StreamConnection
extends Connection

This interface represents simple (two way) connection

Author:
Daniel Sendula

Method Summary
 InputStream getInputStream()
          Returns connection's input stream
 OutputStream getOutputStream()
          Returns connection's output stream
 
Methods inherited from interface org.abstracthorizon.danube.connection.Connection
close, isClosed
 
Methods inherited from interface org.abstracthorizon.danube.adapter.Adaptable
adapt
 

Method Detail

getInputStream

InputStream getInputStream()
Returns connection's input stream

Returns:
connection's input stream

getOutputStream

OutputStream getOutputStream()
Returns connection's output stream

Returns:
connection's output stream


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.