class org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker extends org.apache.dubbo.rpc.protocol.AbstractInvoker
{
private final org.apache.dubbo.remoting.Channel channel;
private final java.lang.String serviceKey;
private final org.apache.dubbo.remoting.exchange.ExchangeClient currentClient;
void <init>(java.lang.Class, org.apache.dubbo.remoting.Channel, org.apache.dubbo.common.URL, java.lang.String)
{
org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker$ChannelWrapper v;
java.lang.String[] v;
org.apache.dubbo.remoting.Channel v, v;
org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeClient v;
org.apache.dubbo.common.URL v;
java.lang.Class v;
java.lang.String v;
org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker v;
v := @this: org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker;
v := @parameter: java.lang.Class;
v := @parameter: org.apache.dubbo.remoting.Channel;
v := @parameter: org.apache.dubbo.common.URL;
v := @parameter: java.lang.String;
v = newarray (java.lang.String)[2];
v[0] = "group";
v[1] = "token";
specialinvoke v.<org.apache.dubbo.rpc.protocol.AbstractInvoker: void <init>(java.lang.Class,org.apache.dubbo.common.URL,java.lang.String[])>(v, v, v);
v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker: org.apache.dubbo.remoting.Channel channel> = v;
v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker: java.lang.String serviceKey> = v;
v = new org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeClient;
v = new org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker$ChannelWrapper;
v = v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker: org.apache.dubbo.remoting.Channel channel>;
specialinvoke v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker$ChannelWrapper: void <init>(org.apache.dubbo.remoting.Channel)>(v);
specialinvoke v.<org.apache.dubbo.remoting.exchange.support.header.HeaderExchangeClient: void <init>(org.apache.dubbo.remoting.Client,boolean)>(v, 0);
v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker: org.apache.dubbo.remoting.exchange.ExchangeClient currentClient> = v;
return;
}
protected org.apache.dubbo.rpc.Result doInvoke(org.apache.dubbo.rpc.Invocation) throws java.lang.Throwable
{
java.lang.Throwable v;
org.apache.dubbo.remoting.RemotingException v;
org.apache.dubbo.rpc.Invocation v;
org.apache.dubbo.remoting.exchange.ExchangeClient v, v;
java.util.concurrent.CompletableFuture v, v;
java.util.function.Function v;
org.apache.dubbo.common.URL v, v;
java.lang.String v, v, v, v, v, v;
boolean v, v;
org.apache.dubbo.rpc.AsyncRpcResult v, v;
org.apache.dubbo.rpc.RpcException v, v, v, v;
java.lang.Class v;
org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker v;
org.apache.dubbo.remoting.TimeoutException v;
v := @this: org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker;
v := @parameter: org.apache.dubbo.rpc.Invocation;
v = virtualinvoke v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker: java.lang.Class getInterface()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
virtualinvoke v.<org.apache.dubbo.rpc.RpcInvocation: void setAttachment(java.lang.String,java.lang.String)>("path", v);
v = v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker: java.lang.String serviceKey>;
virtualinvoke v.<org.apache.dubbo.rpc.RpcInvocation: void setAttachment(java.lang.String,java.lang.String)>("callback.service.instid", v);
label:
v = virtualinvoke v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker: org.apache.dubbo.common.URL getUrl()>();
v = staticinvoke <org.apache.dubbo.rpc.support.RpcUtils: boolean isOneway(org.apache.dubbo.common.URL,org.apache.dubbo.rpc.Invocation)>(v, v);
if v == 0 goto label;
v = v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker: org.apache.dubbo.remoting.exchange.ExchangeClient currentClient>;
v = virtualinvoke v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker: org.apache.dubbo.common.URL getUrl()>();
v = interfaceinvoke v.<org.apache.dubbo.rpc.Invocation: java.lang.String getMethodName()>();
v = virtualinvoke v.<org.apache.dubbo.common.URL: boolean getMethodParameter(java.lang.String,java.lang.String,boolean)>(v, "sent", 0);
interfaceinvoke v.<org.apache.dubbo.remoting.exchange.ExchangeClient: void send(java.lang.Object,boolean)>(v, v);
v = staticinvoke <org.apache.dubbo.rpc.AsyncRpcResult: org.apache.dubbo.rpc.AsyncRpcResult newDefaultAsyncResult(org.apache.dubbo.rpc.Invocation)>(v);
label:
return v;
label:
v = v.<org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker: org.apache.dubbo.remoting.exchange.ExchangeClient currentClient>;
v = interfaceinvoke v.<org.apache.dubbo.remoting.exchange.ExchangeClient: java.util.concurrent.CompletableFuture request(java.lang.Object)>(v);
v = staticinvoke <org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker$lambda_doInvoke_0__414: java.util.function.Function bootstrap$()>();
v = virtualinvoke v.<java.util.concurrent.CompletableFuture: java.util.concurrent.CompletableFuture thenApply(java.util.function.Function)>(v);
v = new org.apache.dubbo.rpc.AsyncRpcResult;
specialinvoke v.<org.apache.dubbo.rpc.AsyncRpcResult: void <init>(java.util.concurrent.CompletableFuture,org.apache.dubbo.rpc.Invocation)>(v, v);
label:
return v;
label:
v := @caughtexception;
throw v;
label:
v := @caughtexception;
v = new org.apache.dubbo.rpc.RpcException;
v = virtualinvoke v.<org.apache.dubbo.remoting.TimeoutException: java.lang.String getMessage()>();
specialinvoke v.<org.apache.dubbo.rpc.RpcException: void <init>(int,java.lang.String,java.lang.Throwable)>(2, v, v);
throw v;
label:
v := @caughtexception;
v = new org.apache.dubbo.rpc.RpcException;
v = virtualinvoke v.<org.apache.dubbo.remoting.RemotingException: java.lang.String getMessage()>();
specialinvoke v.<org.apache.dubbo.rpc.RpcException: void <init>(int,java.lang.String,java.lang.Throwable)>(1, v, v);
throw v;
label:
v := @caughtexception;
v = new org.apache.dubbo.rpc.RpcException;
v = virtualinvoke v.<java.lang.Throwable: java.lang.String getMessage()>();
specialinvoke v.<org.apache.dubbo.rpc.RpcException: void <init>(java.lang.String,java.lang.Throwable)>(v, v);
throw v;
catch org.apache.dubbo.rpc.RpcException from label to label with label;
catch org.apache.dubbo.rpc.RpcException from label to label with label;
catch org.apache.dubbo.remoting.TimeoutException from label to label with label;
catch org.apache.dubbo.remoting.TimeoutException from label to label with label;
catch org.apache.dubbo.remoting.RemotingException from label to label with label;
catch org.apache.dubbo.remoting.RemotingException from label to label with label;
catch java.lang.Throwable from label to label with label;
catch java.lang.Throwable from label to label with label;
}
public void destroy()
{
org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker v;
v := @this: org.apache.dubbo.rpc.protocol.dubbo.ChannelWrappedInvoker;
return;
}
}