com.sun.jini.jeri.internal.http
Interface TimedConnection

All Known Implementing Classes:
HttpClientConnection, HttpEndpoint.Connection, HttpsEndpoint.HttpClient, HttpServerConnection, HttpServerEndpoint.LH.Connection, HttpsServerEndpoint.HttpsServerEndpointImpl.HttpServer

public interface TimedConnection

Interface implemented by connections which can be timed out.

Author:
Sun Microsystems, Inc.

Method Summary
 boolean shutdown(boolean force)
          Attempts to shut down connection, returning true if connection is closed.
 

Method Detail

shutdown

boolean shutdown(boolean force)
Attempts to shut down connection, returning true if connection is closed. If force is true, connection is always shut down; if force is false, connection is only shut down if idle.



Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.