public class org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler extends org.glassfish.grizzly.filterchain.BaseFilter
{
private static final org.apache.dubbo.common.logger.Logger logger;
private final org.apache.dubbo.common.URL url;
private final org.apache.dubbo.remoting.ChannelHandler handler;
public void <init>(org.apache.dubbo.common.URL, org.apache.dubbo.remoting.ChannelHandler)
{
org.apache.dubbo.remoting.ChannelHandler v;
org.apache.dubbo.common.URL v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler v;
v := @this: org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler;
v := @parameter: org.apache.dubbo.common.URL;
v := @parameter: org.apache.dubbo.remoting.ChannelHandler;
specialinvoke v.<org.glassfish.grizzly.filterchain.BaseFilter: void <init>()>();
v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.common.URL url> = v;
v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler> = v;
return;
}
public org.glassfish.grizzly.filterchain.NextAction handleConnect(org.glassfish.grizzly.filterchain.FilterChainContext) throws java.io.IOException
{
java.lang.Throwable v;
org.apache.dubbo.remoting.ChannelHandler v, v;
org.apache.dubbo.remoting.RemotingException v;
org.glassfish.grizzly.filterchain.NextAction v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel v;
java.io.IOException v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler v;
org.glassfish.grizzly.filterchain.FilterChainContext v;
org.apache.dubbo.common.URL v;
org.glassfish.grizzly.Connection v;
java.lang.String v;
v := @this: org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler;
v := @parameter: org.glassfish.grizzly.filterchain.FilterChainContext;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.Connection getConnection()>();
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.common.URL url>;
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler>;
v = staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel getOrAddChannel(org.glassfish.grizzly.Connection,org.apache.dubbo.common.URL,org.apache.dubbo.remoting.ChannelHandler)>(v, v, v);
label:
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler>;
interfaceinvoke v.<org.apache.dubbo.remoting.ChannelHandler: void connected(org.apache.dubbo.remoting.Channel)>(v);
label:
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
goto label;
label:
v := @caughtexception;
v = new java.io.IOException;
v = staticinvoke <org.apache.dubbo.common.utils.StringUtils: java.lang.String toString(java.lang.Throwable)>(v);
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>(v);
throw v;
label:
v := @caughtexception;
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
throw v;
label:
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.filterchain.NextAction getInvokeAction()>();
return v;
catch org.apache.dubbo.remoting.RemotingException from label to label with label;
catch java.lang.Throwable from label to label with label;
}
public org.glassfish.grizzly.filterchain.NextAction handleClose(org.glassfish.grizzly.filterchain.FilterChainContext) throws java.io.IOException
{
java.lang.Throwable v;
org.apache.dubbo.remoting.ChannelHandler v, v;
org.apache.dubbo.remoting.RemotingException v;
org.glassfish.grizzly.filterchain.NextAction v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel v;
java.io.IOException v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler v;
org.glassfish.grizzly.filterchain.FilterChainContext v;
org.apache.dubbo.common.URL v;
org.glassfish.grizzly.Connection v;
java.lang.String v;
v := @this: org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler;
v := @parameter: org.glassfish.grizzly.filterchain.FilterChainContext;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.Connection getConnection()>();
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.common.URL url>;
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler>;
v = staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel getOrAddChannel(org.glassfish.grizzly.Connection,org.apache.dubbo.common.URL,org.apache.dubbo.remoting.ChannelHandler)>(v, v, v);
label:
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler>;
interfaceinvoke v.<org.apache.dubbo.remoting.ChannelHandler: void disconnected(org.apache.dubbo.remoting.Channel)>(v);
label:
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
goto label;
label:
v := @caughtexception;
v = new java.io.IOException;
v = staticinvoke <org.apache.dubbo.common.utils.StringUtils: java.lang.String toString(java.lang.Throwable)>(v);
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>(v);
throw v;
label:
v := @caughtexception;
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
throw v;
label:
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.filterchain.NextAction getInvokeAction()>();
return v;
catch org.apache.dubbo.remoting.RemotingException from label to label with label;
catch java.lang.Throwable from label to label with label;
}
public org.glassfish.grizzly.filterchain.NextAction handleRead(org.glassfish.grizzly.filterchain.FilterChainContext) throws java.io.IOException
{
java.lang.Throwable v;
org.apache.dubbo.remoting.ChannelHandler v, v;
org.apache.dubbo.remoting.RemotingException v;
org.glassfish.grizzly.filterchain.NextAction v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel v;
java.io.IOException v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler v;
org.glassfish.grizzly.filterchain.FilterChainContext v;
org.apache.dubbo.common.URL v;
org.glassfish.grizzly.Connection v;
java.lang.Object v;
java.lang.String v;
v := @this: org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler;
v := @parameter: org.glassfish.grizzly.filterchain.FilterChainContext;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.Connection getConnection()>();
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.common.URL url>;
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler>;
v = staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel getOrAddChannel(org.glassfish.grizzly.Connection,org.apache.dubbo.common.URL,org.apache.dubbo.remoting.ChannelHandler)>(v, v, v);
label:
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler>;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: java.lang.Object getMessage()>();
interfaceinvoke v.<org.apache.dubbo.remoting.ChannelHandler: void received(org.apache.dubbo.remoting.Channel,java.lang.Object)>(v, v);
label:
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
goto label;
label:
v := @caughtexception;
v = new java.io.IOException;
v = staticinvoke <org.apache.dubbo.common.utils.StringUtils: java.lang.String toString(java.lang.Throwable)>(v);
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>(v);
throw v;
label:
v := @caughtexception;
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
throw v;
label:
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.filterchain.NextAction getInvokeAction()>();
return v;
catch org.apache.dubbo.remoting.RemotingException from label to label with label;
catch java.lang.Throwable from label to label with label;
}
public org.glassfish.grizzly.filterchain.NextAction handleWrite(org.glassfish.grizzly.filterchain.FilterChainContext) throws java.io.IOException
{
java.lang.Throwable v;
org.apache.dubbo.remoting.ChannelHandler v, v;
org.apache.dubbo.remoting.RemotingException v;
org.glassfish.grizzly.filterchain.NextAction v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel v;
java.io.IOException v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler v;
org.glassfish.grizzly.filterchain.FilterChainContext v;
org.apache.dubbo.common.URL v;
org.glassfish.grizzly.Connection v;
java.lang.Object v;
java.lang.String v;
v := @this: org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler;
v := @parameter: org.glassfish.grizzly.filterchain.FilterChainContext;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.Connection getConnection()>();
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.common.URL url>;
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler>;
v = staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel getOrAddChannel(org.glassfish.grizzly.Connection,org.apache.dubbo.common.URL,org.apache.dubbo.remoting.ChannelHandler)>(v, v, v);
label:
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler>;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: java.lang.Object getMessage()>();
interfaceinvoke v.<org.apache.dubbo.remoting.ChannelHandler: void sent(org.apache.dubbo.remoting.Channel,java.lang.Object)>(v, v);
label:
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
goto label;
label:
v := @caughtexception;
v = new java.io.IOException;
v = staticinvoke <org.apache.dubbo.common.utils.StringUtils: java.lang.String toString(java.lang.Throwable)>(v);
specialinvoke v.<java.io.IOException: void <init>(java.lang.String)>(v);
throw v;
label:
v := @caughtexception;
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
throw v;
label:
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.filterchain.NextAction getInvokeAction()>();
return v;
catch org.apache.dubbo.remoting.RemotingException from label to label with label;
catch java.lang.Throwable from label to label with label;
}
public void exceptionOccurred(org.glassfish.grizzly.filterchain.FilterChainContext, java.lang.Throwable)
{
java.lang.Throwable v, v;
org.apache.dubbo.remoting.ChannelHandler v, v;
org.apache.dubbo.remoting.RemotingException v;
org.apache.dubbo.common.logger.Logger v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel v;
org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler v;
org.glassfish.grizzly.filterchain.FilterChainContext v;
org.apache.dubbo.common.URL v;
org.glassfish.grizzly.Connection v;
java.lang.String v;
v := @this: org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler;
v := @parameter: org.glassfish.grizzly.filterchain.FilterChainContext;
v := @parameter: java.lang.Throwable;
v = virtualinvoke v.<org.glassfish.grizzly.filterchain.FilterChainContext: org.glassfish.grizzly.Connection getConnection()>();
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.common.URL url>;
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler>;
v = staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel getOrAddChannel(org.glassfish.grizzly.Connection,org.apache.dubbo.common.URL,org.apache.dubbo.remoting.ChannelHandler)>(v, v, v);
label:
v = v.<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.remoting.ChannelHandler handler>;
interfaceinvoke v.<org.apache.dubbo.remoting.ChannelHandler: void caught(org.apache.dubbo.remoting.Channel,java.lang.Throwable)>(v, v);
label:
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
goto label;
label:
v := @caughtexception;
v = <org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.common.logger.Logger logger>;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("RemotingException on channel \u0001");
interfaceinvoke v.<org.apache.dubbo.common.logger.Logger: void error(java.lang.String,java.lang.Throwable)>(v, v);
label:
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
goto label;
label:
v := @caughtexception;
staticinvoke <org.apache.dubbo.remoting.transport.grizzly.GrizzlyChannel: void removeChannelIfDisconnected(org.glassfish.grizzly.Connection)>(v);
throw v;
label:
return;
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;
}
static void <clinit>()
{
org.apache.dubbo.common.logger.Logger v;
v = staticinvoke <org.apache.dubbo.common.logger.LoggerFactory: org.apache.dubbo.common.logger.Logger getLogger(java.lang.Class)>(class "Lorg/apache/dubbo/remoting/transport/grizzly/GrizzlyHandler;");
<org.apache.dubbo.remoting.transport.grizzly.GrizzlyHandler: org.apache.dubbo.common.logger.Logger logger> = v;
return;
}
}