| 程序包 | 说明 |
|---|---|
| org.apache.dubbo.rpc |
| 限定符和类型 | 方法和说明 |
|---|---|
RpcServiceContext |
RpcServiceContext.copyOf(boolean needCopy)
Only part of the properties are copied, the others are either not used currently or can be got from invocation.
|
RpcServiceContext |
ExecutableListener.getContext() |
static RpcServiceContext |
RpcContext.getCurrentServiceContext() |
static RpcServiceContext |
RpcContext.getServiceContext()
Using to pass environment parameters in the whole invocation.
|
RpcServiceContext |
RpcServiceContext.setInvocation(Invocation invocation) |
RpcServiceContext |
RpcServiceContext.setInvoker(Invoker<?> invoker) |
RpcServiceContext |
RpcServiceContext.setInvokers(List<Invoker<?>> invokers) |
RpcServiceContext |
RpcServiceContext.setLocalAddress(InetSocketAddress address)
set local address.
|
RpcServiceContext |
RpcServiceContext.setLocalAddress(String host,
int port)
set local address.
|
RpcServiceContext |
RpcServiceContext.setLocalInvoke(boolean localInvoke) |
RpcServiceContext |
RpcServiceContext.setRemoteAddress(InetSocketAddress address)
set remote address.
|
RpcServiceContext |
RpcServiceContext.setRemoteAddress(String host,
int port)
set remote address.
|
RpcServiceContext |
RpcServiceContext.setRemoteApplicationName(String remoteApplicationName) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CancellationContext.addListener(CancellationListener cancellationListener,
Executor executor,
RpcServiceContext context) |
void |
CancellationContext.addListener(CancellationListener cancellationListener,
RpcServiceContext context) |
void |
CancellationListener.cancelled(RpcServiceContext context)
Notifies that a context was cancelled.
|
| 构造器和说明 |
|---|
ExecutableListener(Executor executor,
CancellationListener listener,
RpcServiceContext context) |
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.