org.jacorb.orb.giop
Class TransportManager

java.lang.Object
  extended by org.jacorb.orb.giop.TransportManager
All Implemented Interfaces:
org.jacorb.config.Configurable

public class TransportManager
extends java.lang.Object
implements org.jacorb.config.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.30 2009-05-03 21:35:56 andre.spiegel Exp $
Author:
Nicolas Noffke

Constructor Summary
TransportManager(ORB orb)
           
 
Method Summary
 void addTransportListener(TransportListener tl)
           
 void configure(org.jacorb.config.Configuration myConfiguration)
           
 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.
 java.util.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.
 ProfileSelector getProfileSelector()
           
 SocketFactoryManager getSocketFactoryManager()
           
 void notifyTransportListeners(GIOPConnection giopc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportManager

public TransportManager(ORB orb)
Method Detail

configure

public void configure(org.jacorb.config.Configuration myConfiguration)
               throws org.jacorb.config.ConfigurationException
Specified by:
configure in interface org.jacorb.config.Configurable
Throws:
org.jacorb.config.ConfigurationException

getProfileSelector

public ProfileSelector getProfileSelector()

getSocketFactoryManager

public SocketFactoryManager getSocketFactoryManager()

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 java.util.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.


notifyTransportListeners

public void notifyTransportListeners(GIOPConnection giopc)

addTransportListener

public void addTransportListener(TransportListener tl)