KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > corba > se > pept > transport > TransportManager


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
8 package com.sun.corba.se.pept.transport;
9
10 import java.util.Collection JavaDoc;
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 Carr
19  */

20 public interface TransportManager
21 {
22     public ByteBufferPool getByteBufferPool(int id);
23
24     public OutboundConnectionCache getOutboundConnectionCache(
25         ContactInfo contactInfo);
26
27     public Collection JavaDoc getOutboundConnectionCaches();
28
29     public InboundConnectionCache getInboundConnectionCache(Acceptor acceptor);
30
31     public Collection JavaDoc getInboundConnectionCaches();
32
33     public Selector getSelector(int id);
34
35     public void registerAcceptor(Acceptor acceptor);
36
37     public Collection JavaDoc getAcceptors();
38
39     public void unregisterAcceptor(Acceptor acceptor);
40
41     public void close();
42 }
43
44 // End of file.
45
Popular Tags