org.globus.cog.gridshell.connectionmanager
Interface ConnectionManager

All Known Implementing Classes:
ConnectionManagerImpl

public interface ConnectionManager


Method Summary
 StartTask getCurrentConnection()
          Gets the current connection
 StartTask getDefaultConnection()
          Returns a default connection
 boolean isCurrentDefaultConnection()
          Determines if the default connection is current
 StartTask pop()
          Removes and returns the last created connection
 void push(StartTask connection)
          Adds a connection to the top of the stack
 

Method Detail

getDefaultConnection

public StartTask getDefaultConnection()
Returns a default connection

Returns:

isCurrentDefaultConnection

public boolean isCurrentDefaultConnection()
Determines if the default connection is current

Returns:

getCurrentConnection

public StartTask getCurrentConnection()
Gets the current connection

Returns:

push

public void push(StartTask connection)
Adds a connection to the top of the stack

Parameters:
connection -

pop

public StartTask pop()
Removes and returns the last created connection

Returns: