Class AcceptorAcceptOnlyImpl

  • All Implemented Interfaces:
    LegacyServerSocketEndPointInfo, Work, Acceptor, EventHandler, SocketInfo

    public class AcceptorAcceptOnlyImpl
    extends AcceptorImpl
    This version of an acceptor is the other half of CorbaAcceptorLazyImpl. The idea is that AcceptOnly will NOT contribute to an IORTemplate, and will actually accept from a ServerSocket (and so it must initialize the server socket and close it). The LazyImpl will contribute to an IORTemplate, and will not actually accept, but does the actual processing of sockets from the server socket.
    • Field Detail

      • operation

        private org.glassfish.pfl.basic.func.UnaryVoidFunction<java.net.Socket> operation
    • Constructor Detail

      • AcceptorAcceptOnlyImpl

        public AcceptorAcceptOnlyImpl​(ORB orb,
                                      int port,
                                      java.lang.String name,
                                      java.lang.String type,
                                      org.glassfish.pfl.basic.func.UnaryVoidFunction<java.net.Socket> operation)