程序包的使用
org.apache.dubbo.rpc
-
使用org.apache.dubbo.rpc的程序包 程序包 说明 org.apache.dubbo.rpc org.apache.dubbo.rpc.filter org.apache.dubbo.rpc.filter.tps org.apache.dubbo.rpc.listener org.apache.dubbo.rpc.protocol org.apache.dubbo.rpc.protocol.dubbo FutureAdapterwas in dubbo-rpc-dubbo module, considering some users will use this class directly, keep the package not changed.org.apache.dubbo.rpc.proxy org.apache.dubbo.rpc.proxy.javassist org.apache.dubbo.rpc.proxy.jdk org.apache.dubbo.rpc.proxy.wrapper org.apache.dubbo.rpc.support -
org.apache.dubbo.rpc使用的org.apache.dubbo.rpc中的类 类 说明 AppResponse AsyncRpcResultis introduced in 3.0.0 to replace RpcResult, and RpcResult is replaced withAppResponse: AsyncRpcResult is the object that is actually passed in the call chain AppResponse only simply represents the business resultAsyncContext AsyncContext works like {@see javax.servlet.AsyncContext} in the Servlet 3.0.AsyncRpcResult This class represents an unfinished RPC call, it will hold some context information for this call, for example RpcContext and Invocation, so that when the call finishes and the result returns, it can guarantee all the contexts being recovered as the same as when the call was made before any callback is invoked.Exporter Exporter.Filter Extension for intercepting the invocation for both service provider and consumer, furthermore, most of functions in dubbo are implemented base on the same mechanism.Filter.Listener FutureContext Used for async call scenario.Invocation Invocation.InvokeMode Invoker Invoker.ProtocolServer Distinct fromRemotingServer, each protocol holds one or more ProtocolServers(the number usually decides by port numbers), while each ProtocolServer holds zero or one RemotingServer.Result (API, Prototype, NonThreadSafe) An RPCResult.RpcContext Thread local context.RpcException RPC Exception.RpcStatus URL statistics.TimeoutCountDown -
org.apache.dubbo.rpc.filter使用的org.apache.dubbo.rpc中的类 类 说明 Filter Extension for intercepting the invocation for both service provider and consumer, furthermore, most of functions in dubbo are implemented base on the same mechanism.Filter.Listener Invocation Invocation.Invoker Invoker.Result (API, Prototype, NonThreadSafe) An RPCResult.RpcException RPC Exception. -
org.apache.dubbo.rpc.filter.tps使用的org.apache.dubbo.rpc中的类 类 说明 Invocation Invocation. -
org.apache.dubbo.rpc.listener使用的org.apache.dubbo.rpc中的类 类 说明 Exporter Exporter.ExporterListener ExporterListener.Invocation Invocation.Invoker Invoker.InvokerListener InvokerListener.Result (API, Prototype, NonThreadSafe) An RPCResult.RpcException RPC Exception. -
org.apache.dubbo.rpc.protocol使用的org.apache.dubbo.rpc中的类 类 说明 Exporter Exporter.Invocation Invocation.Invoker Invoker.Protocol Protocol.ProtocolServer Distinct fromRemotingServer, each protocol holds one or more ProtocolServers(the number usually decides by port numbers), while each ProtocolServer holds zero or one RemotingServer.ProxyFactory ProxyFactory.Result (API, Prototype, NonThreadSafe) An RPCResult.RpcException RPC Exception. -
org.apache.dubbo.rpc.protocol.dubbo使用的org.apache.dubbo.rpc中的类 类 说明 AppResponse AsyncRpcResultis introduced in 3.0.0 to replace RpcResult, and RpcResult is replaced withAppResponse: AsyncRpcResult is the object that is actually passed in the call chain AppResponse only simply represents the business result -
org.apache.dubbo.rpc.proxy使用的org.apache.dubbo.rpc中的类 类 说明 Invocation Invocation.Invoker Invoker.ProxyFactory ProxyFactory.Result (API, Prototype, NonThreadSafe) An RPCResult.RpcException RPC Exception. -
org.apache.dubbo.rpc.proxy.javassist使用的org.apache.dubbo.rpc中的类 类 说明 Invoker Invoker.ProxyFactory ProxyFactory. -
org.apache.dubbo.rpc.proxy.jdk使用的org.apache.dubbo.rpc中的类 类 说明 Invoker Invoker.ProxyFactory ProxyFactory. -
org.apache.dubbo.rpc.proxy.wrapper使用的org.apache.dubbo.rpc中的类 类 说明 Invoker Invoker.Protocol Protocol.ProxyFactory ProxyFactory.RpcException RPC Exception. -
org.apache.dubbo.rpc.support使用的org.apache.dubbo.rpc中的类 类 说明 Exporter Exporter.Invocation Invocation.InvokeMode Invoker Invoker.Protocol Protocol.Result (API, Prototype, NonThreadSafe) An RPCResult.RpcContext Thread local context.RpcException RPC Exception.