Class ParserTable.TestAcceptor1

java.lang.Object
com.sun.corba.ee.impl.orb.ParserTable.TestAcceptor1
All Implemented Interfaces:
Acceptor
Enclosing class:
ParserTable

public static final class ParserTable.TestAcceptor1 extends Object implements Acceptor
  • Constructor Details

    • TestAcceptor1

      public TestAcceptor1()
  • Method Details

    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • initialize

      public boolean initialize()
      Description copied from interface: Acceptor
      Used to initialize an Acceptor. For example, initialization may mean to create a ServerSocketChannel. Note: this must be prepared to be be called multiple times.
      Specified by:
      initialize in interface Acceptor
      Returns:
      true when it performs initializatin actions (typically the first call.
    • initialized

      public boolean initialized()
      Description copied from interface: Acceptor
      Used to determine if an Acceptor has been initialized.
      Specified by:
      initialized in interface Acceptor
      Returns:
      true. if the Acceptor has been initialized.
    • getConnectionCacheType

      public String getConnectionCacheType()
      Specified by:
      getConnectionCacheType in interface Acceptor
    • setConnectionCache

      public void setConnectionCache(InboundConnectionCache connectionCache)
      Specified by:
      setConnectionCache in interface Acceptor
    • getConnectionCache

      public InboundConnectionCache getConnectionCache()
      Specified by:
      getConnectionCache in interface Acceptor
    • shouldRegisterAcceptEvent

      public boolean shouldRegisterAcceptEvent()
      Description copied from interface: Acceptor
      Used to determine if the Acceptor 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.
      Specified by:
      shouldRegisterAcceptEvent in interface Acceptor
      Returns:
      true if the Acceptor should be registered with a Selector.
    • setUseSelectThreadForConnections

      public void setUseSelectThreadForConnections(boolean x)
    • shouldUseSelectThreadForConnections

      public boolean shouldUseSelectThreadForConnections()
    • setUseWorkerThreadForConnections

      public void setUseWorkerThreadForConnections(boolean x)
    • shouldUseWorkerThreadForConnections

      public boolean shouldUseWorkerThreadForConnections()
    • getAcceptedSocket

      public Socket getAcceptedSocket()
      Description copied from interface: Acceptor
      Blocks until a new Socket is available on the acceptor's port.
      Specified by:
      getAcceptedSocket in interface Acceptor
      Returns:
      the new socket
    • processSocket

      public void processSocket(Socket socket)
      Description copied from interface: Acceptor
      Handle a newly accepted Socket.
      Specified by:
      processSocket in interface Acceptor
      Parameters:
      socket - socket to handle
    • close

      public void close()
      Description copied from interface: Acceptor
      Close the Acceptor.
      Specified by:
      close in interface Acceptor
    • getEventHandler

      public EventHandler getEventHandler()
      Specified by:
      getEventHandler in interface Acceptor
    • createOutputObject

      public CDROutputObject createOutputObject(ORB broker, MessageMediator messageMediator)
      Specified by:
      createOutputObject in interface Acceptor
    • getObjectAdapterId

      public String getObjectAdapterId()
    • getObjectAdapterManagerId

      public String getObjectAdapterManagerId()
    • addToIORTemplate

      public void addToIORTemplate(IORTemplate iorTemplate, Policies policies, String codebase)
      Specified by:
      addToIORTemplate in interface Acceptor
    • getMonitoringName

      public String getMonitoringName()
      Specified by:
      getMonitoringName in interface Acceptor
    • getServerSocket

      public ServerSocket getServerSocket()
      Specified by:
      getServerSocket in interface Acceptor
    • getPort

      public int getPort()
      Specified by:
      getPort in interface Acceptor
    • getName

      public String getName()
    • getInterfaceName

      public String getInterfaceName()
      Specified by:
      getInterfaceName in interface Acceptor
    • getType

      public String getType()
      Specified by:
      getType in interface Acceptor
    • isLazy

      public boolean isLazy()
      Specified by:
      isLazy in interface Acceptor