Class ShellService


  • public class ShellService
    extends Object
    The shell service, provides a remotely accessible shell available via Telnet or SSH according to the ShellServiceOptions configuration.

    The shell service will expose commands using CommandResolver on the classpath and the shared command registry for the Vert.x instance.

    NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.

    • Constructor Detail

      • ShellService

        public ShellService​(ShellService delegate)
      • ShellService

        public ShellService​(Object delegate)
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • create

        public static ShellService create​(Vertx vertx,
                                          ShellServiceOptions options)
        Create a new shell service.
        Parameters:
        vertx - the Vert.x instance
        options - the service config options
        Returns:
        the shell service
      • start

        public void start​(Handler<AsyncResult<Void>> startHandler)
        Start the shell service, this is an asynchronous start.
        Parameters:
        startHandler - handler for getting notified when service is started
      • start

        public void start()
        Start the shell service, this is an asynchronous start.
      • rxStart

        public io.reactivex.Completable rxStart()
        Start the shell service, this is an asynchronous start.
        Returns:
      • server

        public ShellServer server()
        Returns:
        the shell server
      • stop

        public void stop​(Handler<AsyncResult<Void>> stopHandler)
        Stop the shell service, this is an asynchronous start.
        Parameters:
        stopHandler - handler for getting notified when service is stopped
      • stop

        public void stop()
        Stop the shell service, this is an asynchronous start.
      • rxStop

        public io.reactivex.Completable rxStop()
        Stop the shell service, this is an asynchronous start.
        Returns: