Class VmPipeAcceptor

    • Constructor Detail

      • VmPipeAcceptor

        public VmPipeAcceptor()
    • Method Detail

      • bind

        public void bind​(java.net.SocketAddress address,
                         IoHandler handler,
                         IoServiceConfig config)
                  throws java.io.IOException
        Description copied from interface: IoAcceptor
        Binds to the specified address and handles incoming connections with the specified handler.
        config - the configuration
        Throws:
        java.io.IOException - if failed to bind
      • unbind

        public void unbind​(java.net.SocketAddress address)
        Description copied from interface: IoAcceptor
        Unbinds from the specified address and disconnects all clients connected there.
      • unbindAll

        public void unbindAll()
        Description copied from interface: IoAcceptor
        Unbinds all addresses which were bound by this acceptor.
      • getDefaultConfig

        public IoServiceConfig getDefaultConfig()
        Description copied from interface: IoService
        Returns the default configuration which is used when you didn't specify any configuration.