Class VmPipeConnector

    • Constructor Detail

      • VmPipeConnector

        public VmPipeConnector()
        Creates a new instance.
    • Method Detail

      • connect

        public ConnectFuture connect​(java.net.SocketAddress address,
                                     IoHandler handler,
                                     IoServiceConfig config)
        Description copied from interface: IoConnector
        Connects to the specified address. If communication starts successfully, events are fired to the specified handler.
        config - the configuration
        Returns:
        ConnectFuture that will tell the result of the connection attempt
      • connect

        public ConnectFuture connect​(java.net.SocketAddress address,
                                     java.net.SocketAddress localAddress,
                                     IoHandler handler,
                                     IoServiceConfig config)
        Description copied from interface: IoConnector
        Connects to the specified address. If communication starts successfully, events are fired to the specified handler.
        config - the configuration
        Returns:
        ConnectFuture that will tell the result of the connection attempt
      • getDefaultConfig

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