1. /*
  2. * @(#)TransportManager.java 1.7 03/12/19
  3. *
  4. * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package com.sun.corba.se.pept.transport;
  8. import java.util.Collection;
  9. import com.sun.corba.se.pept.transport.Acceptor;
  10. import com.sun.corba.se.pept.transport.ByteBufferPool;
  11. import com.sun.corba.se.pept.transport.ConnectionCache;
  12. import com.sun.corba.se.pept.transport.Selector;
  13. /**
  14. * @author Harold Carr
  15. */
  16. public interface TransportManager
  17. {
  18. public ByteBufferPool getByteBufferPool(int id);
  19. public OutboundConnectionCache getOutboundConnectionCache(
  20. ContactInfo contactInfo);
  21. public Collection getOutboundConnectionCaches();
  22. public InboundConnectionCache getInboundConnectionCache(Acceptor acceptor);
  23. public Collection getInboundConnectionCaches();
  24. public Selector getSelector(int id);
  25. public void registerAcceptor(Acceptor acceptor);
  26. public Collection getAcceptors();
  27. public void unregisterAcceptor(Acceptor acceptor);
  28. public void close();
  29. }
  30. // End of file.