org.jacorb.orb.giop

Interface SelectionStrategy

public interface SelectionStrategy

This class is used to select a connection for closing. The connection should be idle (although this is checked again later when closing). The given list of connections is synchronized, so no additional synchronization is necessary.

Version: $Id: SelectionStrategy.java,v 1.6 2004/05/06 12:40:00 nicolas Exp $

Author: Nicolas Noffke

Method Summary
ServerGIOPConnectionselectForClose(List connections)
Select a connection for closing.

Method Detail

selectForClose

public ServerGIOPConnection selectForClose(List connections)
Select a connection for closing. If none is idle, null should be returned.