All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.transport.netty.MessageChannelHandler.class Maven / Gradle / Ivy

There is a newer version: 59
Show newest version
????39com/groupbyinc/flux/transport/netty/MessageChannelHandlerKcom/groupbyinc/flux/common/jboss/netty/channel/SimpleChannelUpstreamHandlerMessageChannelHandler.javaHcom/groupbyinc/flux/transport/netty/MessageChannelHandler$RequestHandlerRequestHandlerIcom/groupbyinc/flux/transport/netty/MessageChannelHandler$ResponseHandler	ResponseHandler;com/groupbyinc/flux/transport/netty/MessageChannelHandler$1/com/groupbyinc/flux/threadpool/ThreadPool$Names)com/groupbyinc/flux/threadpool/ThreadPoolNameslogger-Lcom/groupbyinc/flux/common/logging/ESLogger;
threadPool+Lcom/groupbyinc/flux/threadpool/ThreadPool;transportServiceAdapter7Lcom/groupbyinc/flux/transport/TransportServiceAdapter;	transport4Lcom/groupbyinc/flux/transport/netty/NettyTransport;profileNameLjava/lang/String;v(Lcom/groupbyinc/flux/transport/netty/NettyTransport;Lcom/groupbyinc/flux/common/logging/ESLogger;Ljava/lang/String;)V()V
 2com/groupbyinc/flux/transport/netty/NettyTransport"-()Lcom/groupbyinc/flux/threadpool/ThreadPool;$
#%	'9()Lcom/groupbyinc/flux/transport/TransportServiceAdapter;)
#*	,	.	0	2this;Lcom/groupbyinc/flux/transport/netty/MessageChannelHandler;
writeComplete?(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;Lcom/groupbyinc/flux/common/jboss/netty/channel/WriteCompletionEvent;)Vjava/lang/Exception8Ccom/groupbyinc/flux/common/jboss/netty/channel/WriteCompletionEvent:getWrittenAmount()J<=;>5com/groupbyinc/flux/transport/TransportServiceAdapter@sent(J)VBCAD67
FctxFLcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;eELcom/groupbyinc/flux/common/jboss/netty/channel/WriteCompletionEvent;messageReceived?(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;Lcom/groupbyinc/flux/common/jboss/netty/channel/MessageEvent;)V:com/groupbyinc/flux/common/compress/NotCompressedExceptionN(com/groupbyinc/flux/transport/TransportsPassertTransportThread()ZRS
QT;com/groupbyinc/flux/common/jboss/netty/channel/MessageEventV
getMessage()Ljava/lang/Object;XYWZ;com/groupbyinc/flux/common/jboss/netty/buffer/ChannelBuffer\Dcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext^sendUpstream@(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelEvent;)V`a_bjava/lang/ObjectdreaderIndex()Ifg]hgetInt(I)Ijk]lreceivednCAoCcom/groupbyinc/flux/transport/netty/ChannelBufferStreamInputFactoryqcreater(Lcom/groupbyinc/flux/common/jboss/netty/buffer/ChannelBuffer;I)Lcom/groupbyinc/flux/common/io/stream/StreamInput;st
ru0com/groupbyinc/flux/common/io/stream/StreamInputwreadLongy=
xzreadByte()B|}
x~readInt?g
x?com/groupbyinc/flux/Version?fromId (I)Lcom/groupbyinc/flux/Version;??
??5com/groupbyinc/flux/transport/support/TransportStatus?
isCompress(B)Z??
??readable?S]?5com/groupbyinc/flux/common/compress/CompressorFactory?
compressoro(Lcom/groupbyinc/flux/common/jboss/netty/buffer/ChannelBuffer;)Lcom/groupbyinc/flux/common/compress/Compressor;??
??
readableBytes?g]?java/lang/Math?min(II)I??
??java/lang/StringBuilder?=stream marked as compressed, but no compressor found, first [?(Ljava/lang/String;)V?
??append(I)Ljava/lang/StringBuilder;??
??] content bytes out of [?-(Ljava/lang/String;)Ljava/lang/StringBuilder;??
??$] readable bytes with message size [?] ?] are [?getByte(I)B??]?,?]?java/lang/IllegalStateException?toString()Ljava/lang/String;??
??
??.com/groupbyinc/flux/common/compress/Compressor?streamInputf(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Lcom/groupbyinc/flux/common/io/stream/StreamInput;????
setVersion (Lcom/groupbyinc/flux/Version;)V??
x?	isRequest??
??
getChannel:()Lcom/groupbyinc/flux/common/jboss/netty/channel/Channel;??_?
handleRequest?(Lcom/groupbyinc/flux/common/jboss/netty/channel/Channel;Lcom/groupbyinc/flux/common/io/stream/StreamInput;JLcom/groupbyinc/flux/Version;)Ljava/lang/String;??
?read?g
x?
? 0Message not fully read (request) for requestId [?(J)Ljava/lang/StringBuilder;??
??], action [?], readerIndex [?] vs expected [?]; resetting?java/lang/String?/Message is fully read (request), yet there are ? remaining bytes; resetting?9Message read past expected size (request) for requestId [?onResponseReceived;(J)Lcom/groupbyinc/flux/transport/TransportResponseHandler;??A?isError??
??handlerResponseErrorm(Lcom/groupbyinc/flux/common/io/stream/StreamInput;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V??
?6com/groupbyinc/flux/transport/TransportResponseHandler?handleResponse?(Lcom/groupbyinc/flux/common/jboss/netty/channel/Channel;Lcom/groupbyinc/flux/common/io/stream/StreamInput;Lcom/groupbyinc/flux/transport/TransportResponseHandler;)V
1Message not fully read (response) for requestId [], handler [-(Ljava/lang/Object;)Ljava/lang/StringBuilder;?	
?

], error [(Z)Ljava/lang/StringBuilder;?
?0Message is fully read (response), yet there are :Message read past expected size (response) for requestId [java/io/Closeable5com/groupbyinc/flux/common/apache/lucene/util/IOUtilsclose([Ljava/io/Closeable;)V
closeWhileHandlingException
(I)Vf ]!java/lang/Throwable#0Lcom/groupbyinc/flux/common/compress/Compressor;iI	maxToReadoffsetsbLjava/lang/StringBuilder;ex;8Lcom/groupbyinc/flux/transport/TransportResponseHandler;	requestIdJstatusBversionLcom/groupbyinc/flux/Version;=Lcom/groupbyinc/flux/common/jboss/netty/channel/MessageEvent;mLjava/lang/Object;buffer=Lcom/groupbyinc/flux/common/jboss/netty/buffer/ChannelBuffer;sizehasMessageBytesToReadZmarkedReaderIndexexpectedIndexReaderstreamIn2Lcom/groupbyinc/flux/common/io/stream/StreamInput;successCcom/groupbyinc/flux/common/io/stream/NamedWriteableAwareStreamInputFnamedWriteableRegistry=Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;HI	#Jr(Lcom/groupbyinc/flux/common/io/stream/StreamInput;Lcom/groupbyinc/flux/common/io/stream/NamedWriteableRegistry;)VL
GMnewInstance3()Lcom/groupbyinc/flux/transport/TransportResponse;OPQ?com/groupbyinc/flux/common/transport/InetSocketTransportAddressS6com/groupbyinc/flux/common/jboss/netty/channel/ChannelUgetRemoteAddress()Ljava/net/SocketAddress;WXVYjava/net/InetSocketAddress[(Ljava/net/InetSocketAddress;)V]
T^/com/groupbyinc/flux/transport/TransportResponse`
remoteAddress:(Lcom/groupbyinc/flux/common/transport/TransportAddress;)Vbc
ad9()Lcom/groupbyinc/flux/common/transport/TransportAddress;bf
agreadFrom5(Lcom/groupbyinc/flux/common/io/stream/StreamInput;)Vij
ak=com/groupbyinc/flux/transport/TransportSerializationExceptionm(Failed to deserialize response of type [ogetClass()Ljava/lang/Class;qr
esjava/lang/ClassugetNamew?
vx*(Ljava/lang/String;Ljava/lang/Throwable;)Vz
n{handleExceptionP(Lcom/groupbyinc/flux/transport/TransportResponseHandler;Ljava/lang/Throwable;)V}~
same?executor???equals(Ljava/lang/Object;)Z??
??4(Lcom/groupbyinc/flux/transport/TransportResponse;)V??3(Ljava/lang/String;)Ljava/util/concurrent/Executor;??
??(Lcom/groupbyinc/flux/transport/netty/MessageChannelHandler;Lcom/groupbyinc/flux/transport/TransportResponseHandler;Lcom/groupbyinc/flux/transport/TransportResponse;)V?

?java/util/concurrent/Executor?execute(Ljava/lang/Runnable;)V????Fcom/groupbyinc/flux/transport/ResponseHandlerFailureTransportException?(Ljava/lang/Throwable;)V?
??Ljava/lang/Throwable;channel8Lcom/groupbyinc/flux/common/jboss/netty/channel/Channel;response1Lcom/groupbyinc/flux/transport/TransportResponse;
readThrowable()Ljava/lang/Throwable;??
x?4Failed to deserialize exception response from stream?error6com/groupbyinc/flux/transport/RemoteTransportException?X?
$?
?{5(Lcom/groupbyinc/flux/transport/TransportException;)V}??(failed to handle exception response [{}]?+com/groupbyinc/flux/common/logging/ESLogger?=(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V?????(Lcom/groupbyinc/flux/transport/netty/MessageChannelHandler;Lcom/groupbyinc/flux/transport/TransportResponseHandler;Lcom/groupbyinc/flux/transport/RemoteTransportException;)V?

?rtx8Lcom/groupbyinc/flux/transport/RemoteTransportException;java/io/IOException?
readString??
x?onRequestReceived(JLjava/lang/String;)V??A?9com/groupbyinc/flux/transport/netty/NettyTransportChannel??(Lcom/groupbyinc/flux/transport/netty/NettyTransport;Lcom/groupbyinc/flux/transport/TransportServiceAdapter;Ljava/lang/String;Lcom/groupbyinc/flux/common/jboss/netty/channel/Channel;JLcom/groupbyinc/flux/Version;Ljava/lang/String;)V?
??getRequestHandlerJ(Ljava/lang/String;)Lcom/groupbyinc/flux/transport/RequestHandlerRegistry;??A?>com/groupbyinc/flux/transport/ActionNotFoundTransportException?
??4com/groupbyinc/flux/transport/RequestHandlerRegistry?
newRequest2()Lcom/groupbyinc/flux/transport/TransportRequest;??
??.com/groupbyinc/flux/transport/TransportRequest?
?d
?kgetExecutor??
??processMessageReceivedc(Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/TransportChannel;)V??
???(Lcom/groupbyinc/flux/transport/netty/MessageChannelHandler;Lcom/groupbyinc/flux/transport/RequestHandlerRegistry;Lcom/groupbyinc/flux/transport/TransportRequest;Lcom/groupbyinc/flux/transport/netty/NettyTransportChannel;)V?
?sendResponse??
??8Failed to send error message back to client for action [?warn????Actual Exception?reg6Lcom/groupbyinc/flux/transport/RequestHandlerRegistry;request0Lcom/groupbyinc/flux/transport/TransportRequest;e1Ljava/io/IOException;transportChannel;Lcom/groupbyinc/flux/transport/netty/NettyTransportChannel;exceptionCaught?(Lcom/groupbyinc/flux/common/jboss/netty/channel/ChannelHandlerContext;Lcom/groupbyinc/flux/common/jboss/netty/channel/ExceptionEvent;)V??
#??Lcom/groupbyinc/flux/common/jboss/netty/channel/ExceptionEvent;
access$000?(Lcom/groupbyinc/flux/transport/netty/MessageChannelHandler;Lcom/groupbyinc/flux/transport/TransportResponseHandler;Ljava/lang/Throwable;)Vx0x1x2CodeLocalVariableTableLineNumberTable
ExceptionsLocalVariableTypeTable
StackMapTable
SourceFileInnerClasses!	?$*?!*+?&?(*+?+?-*+?/*,?1*-?3?*$45$$$6789:;#<67\*?-,???E*+,?G? 45HIJK@AB9LMJ??UW,?[N-?]?+,?c?-?]:?id?m6*?-`??p
d??6?i6`6?v:	6
	?{7	?6
	????:
????????????:??:??
??6?i6??Y???????????????????????:6? `???????W???????W??Y?ķſ	??:		??
?ҙ?*+??	??:	??6?G??Y??Y?????????????i?????????ķſ?i?,??Y??Y?????id?????ķſ?i?G??Y??Y?????????????i?????????ķſ??*?-??:??
???*	???*+??	?	??6?>??Y??Y?????????
??
??????ķſ?i?-??Y??Y?????id?????ķſ?i?>??Y??Y?????????
??
??????ķſ
??Y	S???Y	S??"?:?"??B:
??Y	S???Y	S??"?:?"??????O*JVVXVl*gi?????gig???%?$&'?x('?o)'?<*+??,--?%Y?.`?/'l?/'??02s?34z?56
??78?45?HI?J9?:; ?<=2u>'PW?@YNA'`GB'i>CD	l;E@
??01GFGHIJL M2NAQPSYT`XiYl[s\z]?_?b?l?c?d?e?f?g?hgj k-m8o?qGrYu`wfx?y?{?|?~??/?2???D?L?W?e?l?r????????????*?/?>?J?S?V?d?g?i?n?}?????????!?e?2]@?V_We]x?O?N_We]x?O??#?_We]x???
?q?4?O?$
?G5?F_We]xK$
B$?_We]x$K$
?_We]x9???GY,*?/?K?NM-?R:?TY+?Z?\?_?e?hW,?l?4:*-?nY??Y??p???t?y????????|????-?????-??? *?(-?????
Y*-?????:*-??Y?????39<$m??$H>/J??J??45????<D?02???B???-?3?9?<?>?l?m?|???????????#?<Vxa$0B$???+??N?:?nY??|N*,-???$>??

J?45<D02?????
???H$?$}~
j,?????Y,??,??M,??N?+?????(+-???::*?1??eY+S???*?(+?????
Y*+-?????(/2$44J?j45j02j??Q??.????(?/?2?4?J?M?i??$?$??5

?GY,*?/?K?NM,??:*?-!????Y*?/*?-+!*?3??:*?-??:?
??Y?ҿ??:		?TY+?Z?\?_??	,????߶??	??"*?(?߶??Y*	????L:??@:	*?1??Y????????????e??*?1?	?e???=??$????pJj??`T??	?;??	?GJ?45??<D3478?.=???V???"?=?J?O?Y?`?u?{??????????????????>?Y????;??B$?Vx???$??<???L
*?/+,??? 
45
HI
J?
	9??E*+,??? 52?.	
"

	




© 2015 - 2025 Weber Informatics LLC | Privacy Policy