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