org.jacorb.orb.giop

Class TransportManager

public class TransportManager extends Object implements Configurable

This class manages Transports. On the one hand it creates them, and on the other it enforces an upper limit on the open transports. The class also receives notifications from threads that are about do use a Transport and notifies any interested listeners. "Use" is defined as sending (or handling) a request.

Version: $Id: TransportManager.java,v 1.28 2006/08/16 17:46:36 iliyan.jeliazkov Exp $

Author: Nicolas Noffke

Constructor Summary
TransportManager(ORB orb)
Method Summary
voidaddTransportListener(TransportListener tl)
voidconfigure(Configuration myConfiguration)
FactoriesgetFactories(int tag)
Returns an ETF Factories object for the given tag, or null if no Factories class has been defined for this tag.
ListgetFactoriesList()
Returns a list of Factories for all configured transport plugins, in the same order as they were specified in the jacorb.transport.factories property.
ProfileSelectorgetProfileSelector()
SocketFactoryManagergetSocketFactoryManager()
voidnotifyTransportListeners(GIOPConnection giopc)

Constructor Detail

TransportManager

public TransportManager(ORB orb)

Method Detail

addTransportListener

public void addTransportListener(TransportListener tl)

configure

public void configure(Configuration myConfiguration)

getFactories

public Factories getFactories(int tag)
Returns an ETF Factories object for the given tag, or null if no Factories class has been defined for this tag.

getFactoriesList

public List getFactoriesList()
Returns a list of Factories for all configured transport plugins, in the same order as they were specified in the jacorb.transport.factories property.

getProfileSelector

public ProfileSelector getProfileSelector()

getSocketFactoryManager

public SocketFactoryManager getSocketFactoryManager()

notifyTransportListeners

public void notifyTransportListeners(GIOPConnection giopc)