Class SocketFactoryAcceptorImpl
- java.lang.Object
-
- com.sun.corba.ee.impl.transport.EventHandlerBase
-
- com.sun.corba.ee.impl.transport.AcceptorBase
-
- com.sun.corba.ee.impl.transport.AcceptorImpl
-
- com.sun.corba.ee.impl.legacy.connection.SocketFactoryAcceptorImpl
-
- All Implemented Interfaces:
LegacyServerSocketEndPointInfo
,Work
,Acceptor
,EventHandler
,SocketInfo
public class SocketFactoryAcceptorImpl extends AcceptorImpl
-
-
Field Summary
-
Fields inherited from class com.sun.corba.ee.impl.transport.AcceptorImpl
serverSocket, serverSocketChannel
-
Fields inherited from class com.sun.corba.ee.impl.transport.AcceptorBase
connectionCache, enqueueTime, hostname, initialized, locatorPort, name, port, type, wrapper
-
Fields inherited from class com.sun.corba.ee.impl.transport.EventHandlerBase
orb, selectionKey, useSelectThreadToWait, useWorkerThreadForEvent, work
-
Fields inherited from interface com.sun.corba.ee.spi.legacy.connection.LegacyServerSocketEndPointInfo
BOOT_NAMING, DEFAULT_ENDPOINT, NO_NAME
-
Fields inherited from interface com.sun.corba.ee.spi.transport.SocketInfo
IIOP_CLEAR_TEXT, SSL_PREFIX
-
-
Constructor Summary
Constructors Constructor Description SocketFactoryAcceptorImpl(ORB orb, int port, java.lang.String name, java.lang.String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToIORTemplate(IORTemplate iorTemplate, Policies policies, java.lang.String codebase)
boolean
initialize()
Used to initialize anAcceptor
.protected java.lang.String
toStringName()
-
Methods inherited from class com.sun.corba.ee.impl.transport.AcceptorImpl
accept, close, doWork, getAcceptedSocket, getChannel, getServerSocket, internalInitialize
-
Methods inherited from class com.sun.corba.ee.impl.transport.AcceptorBase
createOutputObject, getAcceptor, getConnection, getConnectionCache, getConnectionCacheType, getEnqueueTime, getEventHandler, getHost, getHostName, getInterestOps, getInterfaceName, getLocatorPort, getMonitoringName, getName, getPort, getType, initialized, isLazy, makeIIOPProfileTemplate, processSocket, setConnectionCache, setEnqueueTime, setLocatorPort, shouldRegisterAcceptEvent, toString
-
Methods inherited from class com.sun.corba.ee.impl.transport.EventHandlerBase
getSelectionKey, getWork, handleEvent, setSelectionKey, setUseSelectThreadToWait, setUseWorkerThreadForEvent, setWork, shouldUseSelectThreadToWait, shouldUseWorkerThreadForEvent
-
-
-
-
Constructor Detail
-
SocketFactoryAcceptorImpl
public SocketFactoryAcceptorImpl(ORB orb, int port, java.lang.String name, java.lang.String type)
-
-
Method Detail
-
initialize
public boolean initialize()
Description copied from interface:Acceptor
Used to initialize anAcceptor
. For example, initialization may mean to create aServerSocketChannel
. Note: this must be prepared to be be called multiple times.- Specified by:
initialize
in interfaceAcceptor
- Overrides:
initialize
in classAcceptorImpl
- Returns:
true
when it performs initializatin actions (typically the first call.
-
toStringName
protected java.lang.String toStringName()
- Overrides:
toStringName
in classAcceptorBase
-
addToIORTemplate
public void addToIORTemplate(IORTemplate iorTemplate, Policies policies, java.lang.String codebase)
- Specified by:
addToIORTemplate
in interfaceAcceptor
- Overrides:
addToIORTemplate
in classAcceptorBase
-
-