public class CommandRegistry extends CommandResolver
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static io.vertx.lang.rx.TypeArg<CommandRegistry> |
__TYPE_ARG |
Constructor and Description |
---|
CommandRegistry(CommandRegistry delegate) |
CommandRegistry(Object delegate) |
baseCommands, commands, getCommand, newInstance
public static final io.vertx.lang.rx.TypeArg<CommandRegistry> __TYPE_ARG
public CommandRegistry(CommandRegistry delegate)
public CommandRegistry(Object delegate)
public String toString()
toString
in class CommandResolver
public boolean equals(Object o)
equals
in class CommandResolver
public int hashCode()
hashCode
in class CommandResolver
public CommandRegistry getDelegate()
getDelegate
in class CommandResolver
public static CommandRegistry getShared(Vertx vertx)
vertx
- the vertx instancepublic static CommandRegistry create(Vertx vertx)
vertx
- the vertx instancepublic CommandRegistry registerCommand(Command command, Handler<AsyncResult<Command>> completionHandler)
command
- the command to registercompletionHandler
- notified when the command is registeredpublic CommandRegistry registerCommand(Command command)
command
- the command to registerpublic Single<Command> rxRegisterCommand(Command command)
command
- the command to registerpublic CommandRegistry registerCommands(List<Command> commands, Handler<AsyncResult<List<Command>>> completionHandler)
commands
- the commands to registercompletionHandler
- notified when the command is registeredpublic CommandRegistry registerCommands(List<Command> commands)
commands
- the commands to registerpublic Single<List<Command>> rxRegisterCommands(List<Command> commands)
commands
- the commands to registerpublic CommandRegistry unregisterCommand(String commandName, Handler<AsyncResult<Void>> completionHandler)
commandName
- the command namecompletionHandler
- notified when the command is unregisteredpublic CommandRegistry unregisterCommand(String commandName)
commandName
- the command namepublic Single<Void> rxUnregisterCommand(String commandName)
commandName
- the command namepublic static CommandRegistry newInstance(CommandRegistry arg)
Copyright © 2024 Eclipse. All rights reserved.