org.abstracthorizon.danube.connection
Interface Connection

All Superinterfaces:
Adaptable
All Known Subinterfaces:
HTTPConnection, StreamConnection
All Known Implementing Classes:
AccessLogConnectionHandler.DateWrapper, ConnectionWrapper, HTTPConnectionImpl, LoggingConnection, SocketChannelConnection, SocketConnection

public interface Connection
extends Adaptable

This interface represents simple (two way) connection

Author:
Daniel Sendula

Method Summary
 void close()
          This method closes the existing connection, if possible
 boolean isClosed()
          Checks if connection has been closed
 
Methods inherited from interface org.abstracthorizon.danube.adapter.Adaptable
adapt
 

Method Detail

close

void close()
This method closes the existing connection, if possible


isClosed

boolean isClosed()
Checks if connection has been closed

Returns:
true if connection has been closed


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