Package com.sun.corba.ee.impl.transport
Class TransportManagerImpl
java.lang.Object
com.sun.corba.ee.impl.transport.TransportManagerImpl
- All Implemented Interfaces:
TransportManager
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ThreadLocal
protected final Map
<String, InboundConnectionCache> protected ORB
protected final Map
<String, OutboundConnectionCache> protected Selector
Fields inherited from interface com.sun.corba.ee.spi.transport.TransportManager
SOCKET_OR_CHANNEL_CONNECTION_CACHE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToIORTemplate
(IORTemplate iorTemplate, Policies policies, String codebase, String objectAdapterManagerId, ObjectAdapterId objectAdapterId) void
close()
private void
getAcceptors
(String objectAdapterManagerId, ObjectAdapterId objectAdapterId) getByteBufferPool
(int id) getInboundConnectionCache
(Acceptor acceptor) Return a MessageTraceManager for the current thread.getOutboundConnectionCache
(ContactInfo contactInfo) getSelector
(int id) void
registerAcceptor
(Acceptor acceptor) void
unregisterAcceptor
(Acceptor acceptor)
-
Field Details
-
orb
-
acceptors
-
outboundConnectionCaches
-
inboundConnectionCaches
-
selector
-
currentMessageTraceManager
-
-
Constructor Details
-
TransportManagerImpl
-
-
Method Details
-
getByteBufferPool
- Specified by:
getByteBufferPool
in interfaceTransportManager
-
getOutboundConnectionCache
- Specified by:
getOutboundConnectionCache
in interfaceTransportManager
-
getOutboundConnectionCaches
- Specified by:
getOutboundConnectionCaches
in interfaceTransportManager
-
getInboundConnectionCaches
- Specified by:
getInboundConnectionCaches
in interfaceTransportManager
-
getInboundConnectionCache
- Specified by:
getInboundConnectionCache
in interfaceTransportManager
-
getSelector
- Specified by:
getSelector
in interfaceTransportManager
-
getSelector
- Specified by:
getSelector
in interfaceTransportManager
-
registerAcceptor
- Specified by:
registerAcceptor
in interfaceTransportManager
-
unregisterAcceptor
- Specified by:
unregisterAcceptor
in interfaceTransportManager
-
close
public void close()- Specified by:
close
in interfaceTransportManager
-
getAcceptors
- Specified by:
getAcceptors
in interfaceTransportManager
-
display
-
getAcceptors
public Collection<Acceptor> getAcceptors(String objectAdapterManagerId, ObjectAdapterId objectAdapterId) - Specified by:
getAcceptors
in interfaceTransportManager
-
addToIORTemplate
public void addToIORTemplate(IORTemplate iorTemplate, Policies policies, String codebase, String objectAdapterManagerId, ObjectAdapterId objectAdapterId) - Specified by:
addToIORTemplate
in interfaceTransportManager
-
getMessageTraceManager
Description copied from interface:TransportManager
Return a MessageTraceManager for the current thread. Each thread that calls getMessageTraceManager gets its own independent copy.- Specified by:
getMessageTraceManager
in interfaceTransportManager
- Returns:
- MessageTraceManager for the current thread
-