Index
All Classes and Interfaces|All Packages|Serialized Form
A
- addNotificationCallback(String, RpcListener.NotificationCallback) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- addNotificationCallbacks(String, List<RpcListener.NotificationCallback>) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- addRequestCallback(String, RpcListener.RequestCallback) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- addRequestCallbacks(String, List<RpcListener.RequestCallback>) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- attachToStream(RpcStreamer) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerManager
-
Attaches to given
RpcStreamer
RpcStreamer
does not have to be attached to an actual connection at the time of this call, since this only sets up the notification/request callbacks - awaitTermination(long, TimeUnit) - Method in class com.ensarsarajcic.neovim.java.handler.ImmediateExecutorService
-
No-op
C
- com.ensarsarajcic.neovim.java.handler - package com.ensarsarajcic.neovim.java.handler
- com.ensarsarajcic.neovim.java.handler.annotations - package com.ensarsarajcic.neovim.java.handler.annotations
- com.ensarsarajcic.neovim.java.handler.errors - package com.ensarsarajcic.neovim.java.handler.errors
- com.ensarsarajcic.neovim.java.handler.util - package com.ensarsarajcic.neovim.java.handler.util
- com.ensarsarajcic.neovim.java.handlerannotations - module com.ensarsarajcic.neovim.java.handlerannotations
E
- execute(Runnable) - Method in class com.ensarsarajcic.neovim.java.handler.ImmediateExecutorService
-
Immediately runs the passed command, unless shutdown flag is set If shutdown flag is set, this is a no-op
G
- getMethodsAnnotatedWith(Class<?>, Class<T>) - Static method in class com.ensarsarajcic.neovim.java.handler.util.ReflectionUtils
-
Runs through passed type to find methods annotated with annotation
I
- ImmediateExecutorService - Class in com.ensarsarajcic.neovim.java.handler
-
Simple implementation of
ExecutorService
which runs all tasks on thread the call was made from - ImmediateExecutorService() - Constructor for class com.ensarsarajcic.neovim.java.handler.ImmediateExecutorService
- invokeMethodWithArgs(Object, Method, List<?>, BiFunction<Class<?>, Object, Object>) - Static method in class com.ensarsarajcic.neovim.java.handler.util.ReflectionUtils
- isShutdown() - Method in class com.ensarsarajcic.neovim.java.handler.ImmediateExecutorService
-
Returns the shutdown flag set by
shutdown()
andshutdownNow()
- isTerminated() - Method in class com.ensarsarajcic.neovim.java.handler.ImmediateExecutorService
-
Returns the shutdown flag set by
shutdown()
andshutdownNow()
N
- NeovimHandlerException - Exception in com.ensarsarajcic.neovim.java.handler.errors
- NeovimHandlerException(String) - Constructor for exception com.ensarsarajcic.neovim.java.handler.errors.NeovimHandlerException
- NeovimHandlerManager - Class in com.ensarsarajcic.neovim.java.handler
-
Simple class used to register and connect
NeovimNotificationHandler
andNeovimRequestHandler
It provides methods to register/unregister any kind of object as neovim handler, but only classes with methods annotated withNeovimNotificationHandler
orNeovimRequestHandler
can be useful, since this will find such methods and call them once notifications/requests arrive - NeovimHandlerManager() - Constructor for class com.ensarsarajcic.neovim.java.handler.NeovimHandlerManager
- NeovimHandlerManager(NeovimHandlerProxy) - Constructor for class com.ensarsarajcic.neovim.java.handler.NeovimHandlerManager
-
Creates a new
NeovimHandlerManager
with givenNeovimHandlerProxy
- NeovimHandlerManager(NeovimHandlerProxy, BiFunction<Class<?>, Object, Object>) - Constructor for class com.ensarsarajcic.neovim.java.handler.NeovimHandlerManager
-
Creates a new
NeovimHandlerManager
with givenNeovimHandlerProxy
and type mapper - NeovimHandlerProxy - Class in com.ensarsarajcic.neovim.java.handler
-
Class acting as both a container of
RpcListener.RequestCallback
andRpcListener.NotificationCallback
and as a listener - NeovimHandlerProxy() - Constructor for class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- NeovimHandlerProxy(ExecutorService) - Constructor for class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- NeovimNotificationHandler - Annotation Interface in com.ensarsarajcic.neovim.java.handler.annotations
-
Annotation used to mark a method as a notification handler That means that this method will be called when notification with name matching value of this annotation arrives
- NeovimRequestException - Exception in com.ensarsarajcic.neovim.java.handler.errors
- NeovimRequestException(String) - Constructor for exception com.ensarsarajcic.neovim.java.handler.errors.NeovimRequestException
- NeovimRequestHandler - Annotation Interface in com.ensarsarajcic.neovim.java.handler.annotations
-
Annotation used to mark a method as a request handler That means that this method will be called when request with name matching value of this annotation arrives
- NeovimRequestListener - Annotation Interface in com.ensarsarajcic.neovim.java.handler.annotations
-
Annotation used to mark a method as a request listener That means that this method will be called when request with name matching value of this annotation arrives
- NeovimRequestValidationException - Exception in com.ensarsarajcic.neovim.java.handler.errors
- NeovimRequestValidationException(String) - Constructor for exception com.ensarsarajcic.neovim.java.handler.errors.NeovimRequestValidationException
- notificationReceived(NotificationMessage) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
R
- ReflectionUtils - Class in com.ensarsarajcic.neovim.java.handler.util
-
Utilities for reflection required by this library, since all handlers are called reflectively
- registerNeovimHandler(Object) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerManager
-
Registers a new handler If this object is already registered, this is a no-op If this object has methods annotated with
NeovimNotificationHandler
orNeovimRequestHandler
, this method will have no effect, but it will still reflectively look for such methods - removeNotificationCallback(String, RpcListener.NotificationCallback) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- removeNotificationCallbacks(String, List<RpcListener.NotificationCallback>) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- removeRequestCallback(String, RpcListener.RequestCallback) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- removeRequestCallbacks(String, List<RpcListener.RequestCallback>) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- requestReceived(RequestMessage) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
S
- setFallbackHandler(RpcListener.RequestCallback) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerProxy
- shutdown() - Method in class com.ensarsarajcic.neovim.java.handler.ImmediateExecutorService
-
Sets the shutdown flag just for
isShutdown()
andisTerminated()
methods - shutdownNow() - Method in class com.ensarsarajcic.neovim.java.handler.ImmediateExecutorService
-
Returns an empty list of runnables, since it can't hold any and sets the same flag as
shutdown()
T
- toRpcError() - Method in exception com.ensarsarajcic.neovim.java.handler.errors.NeovimHandlerException
- toRpcError() - Method in exception com.ensarsarajcic.neovim.java.handler.errors.NeovimRequestException
- toRpcError() - Method in exception com.ensarsarajcic.neovim.java.handler.errors.NeovimRequestValidationException
U
- unregisterNeovimHandler(Object) - Method in class com.ensarsarajcic.neovim.java.handler.NeovimHandlerManager
-
Unregisters passed handler If it was not registered previously, this is a no-op It will no longer receive notifications/requests after this point, unless it is registered again
V
- value() - Element in annotation interface com.ensarsarajcic.neovim.java.handler.annotations.NeovimNotificationHandler
-
Name of notification this method will handle By default fully qualified method name is used
- value() - Element in annotation interface com.ensarsarajcic.neovim.java.handler.annotations.NeovimRequestHandler
-
Name of request this method will handle By default fully qualified method name is used
- value() - Element in annotation interface com.ensarsarajcic.neovim.java.handler.annotations.NeovimRequestListener
-
Name of request this method will handle By default fully qualified method name is used
All Classes and Interfaces|All Packages|Serialized Form