public static final class ParserTable.TestAcceptor2 extends Object implements Acceptor
| Constructor and Description |
|---|
TestAcceptor2() |
public boolean initialize()
AcceptorAcceptor.
For example, initialization may mean to create a
ServerSocketChannel.
Note: this must be prepared to be be called multiple times.initialize in interface Acceptortrue when it performs initializatin
actions (typically the first call.public boolean initialized()
AcceptorAcceptor has been initialized.initialized in interface AcceptortrueAcceptor has been
initialized.public String getConnectionCacheType()
getConnectionCacheType in interface Acceptorpublic void setConnectionCache(InboundConnectionCache connectionCache)
setConnectionCache in interface Acceptorpublic InboundConnectionCache getConnectionCache()
getConnectionCache in interface Acceptorpublic boolean shouldRegisterAcceptEvent()
AcceptorAcceptor should register
with a Selector to handle accept events.
For example, this may be false in the case of Solaris Doors
which do not actively listen.shouldRegisterAcceptEvent in interface Acceptortrue if the Acceptor should be
registered with a Selector.public void setUseSelectThreadForConnections(boolean x)
public boolean shouldUseSelectThreadForConnections()
public void setUseWorkerThreadForConnections(boolean x)
public boolean shouldUseWorkerThreadForConnections()
public Socket getAcceptedSocket()
AcceptorgetAcceptedSocket in interface Acceptorpublic void processSocket(Socket socket)
AcceptorprocessSocket in interface Acceptorpublic void close()
AcceptorAcceptor.public EventHandler getEventHandler()
getEventHandler in interface Acceptorpublic CDROutputObject createOutputObject(ORB broker, MessageMediator messageMediator)
createOutputObject in interface Acceptorpublic String getObjectAdapterId()
public String getObjectAdapterManagerId()
public void addToIORTemplate(IORTemplate iorTemplate, Policies policies, String codebase)
addToIORTemplate in interface Acceptorpublic String getMonitoringName()
getMonitoringName in interface Acceptorpublic ServerSocket getServerSocket()
getServerSocket in interface Acceptorpublic String getName()
public String getInterfaceName()
getInterfaceName in interface AcceptorCopyright © 2017–2019 Eclipse Foundation. All rights reserved.