public interface MethodInvocationHandler
| Modifier and Type | Interface and Description |
|---|---|
static class |
MethodInvocationHandler.NodeIdUnknownHandler
A
MethodInvocationHandler that always completes with StatusCodes.Bad_NodeIdUnknown. |
static class |
MethodInvocationHandler.NotImplementedHandler
A
MethodInvocationHandler that always completes with StatusCodes.Bad_NotImplemented. |
| Modifier and Type | Field and Description |
|---|---|
static MethodInvocationHandler.NodeIdUnknownHandler |
NODE_ID_UNKNOWN
A shareable instance of
MethodInvocationHandler.NodeIdUnknownHandler. |
static MethodInvocationHandler.NotImplementedHandler |
NOT_IMPLEMENTED
A shareable instance of
MethodInvocationHandler.NotImplementedHandler. |
| Modifier and Type | Method and Description |
|---|---|
CallMethodResult |
invoke(AccessContext accessContext,
CallMethodRequest request)
Invoke the given
CallMethodRequest and complete future when finished. |
static final MethodInvocationHandler.NodeIdUnknownHandler NODE_ID_UNKNOWN
MethodInvocationHandler.NodeIdUnknownHandler.static final MethodInvocationHandler.NotImplementedHandler NOT_IMPLEMENTED
MethodInvocationHandler.NotImplementedHandler.CallMethodResult invoke(AccessContext accessContext, CallMethodRequest request)
CallMethodRequest and complete future when finished.
Under no circumstances should the future be completed exceptionally.
accessContext - the AccessContext.request - the CallMethodRequest.CallMethodResult.Copyright © 2021. All rights reserved.