io.netty.bootstrap.Bootstrap.class Maven / Gradle / Ivy
???? 2g io/netty/bootstrap/Bootstrap `Lio/netty/bootstrap/AbstractBootstrap; $io/netty/bootstrap/AbstractBootstrap Bootstrap.java io/netty/bootstrap/Bootstrap$3 io/netty/bootstrap/Bootstrap$2 io/netty/bootstrap/Bootstrap$1 ?io/netty/bootstrap/AbstractBootstrap$PendingRegistrationPromise
PendingRegistrationPromise java/util/Map$Entry
java/util/Map Entry logger /Lio/netty/util/internal/logging/InternalLogger; DEFAULT_RESOLVER (Lio/netty/resolver/AddressResolverGroup; +Lio/netty/resolver/AddressResolverGroup<*>; config $Lio/netty/bootstrap/BootstrapConfig; resolver BLio/netty/resolver/AddressResolverGroup;
remoteAddress Ljava/net/SocketAddress; ()V !
" "io/netty/bootstrap/BootstrapConfig $ !(Lio/netty/bootstrap/Bootstrap;)V &
% ' ) + - this Lio/netty/bootstrap/Bootstrap; )(Lio/netty/bootstrap/AbstractBootstrap;)V 1
2 4 bootstrap H(Lio/netty/resolver/AddressResolverGroup;)Lio/netty/bootstrap/Bootstrap; &io/netty/resolver/AddressResolverGroup 8 8(Ljava/net/SocketAddress;)Lio/netty/bootstrap/Bootstrap; 3(Ljava/lang/String;I)Lio/netty/bootstrap/Bootstrap; java/net/InetSocketAddress < createUnresolved 1(Ljava/lang/String;I)Ljava/net/InetSocketAddress; > ?
= @ inetHost Ljava/lang/String; inetPort I 7(Ljava/net/InetAddress;I)Lio/netty/bootstrap/Bootstrap; (Ljava/net/InetAddress;I)V G
= H Ljava/net/InetAddress; connect "()Lio/netty/channel/ChannelFuture; validate ()Lio/netty/bootstrap/Bootstrap; M N
O java/lang/IllegalStateException Q remoteAddress not set S (Ljava/lang/String;)V U
R V java/net/SocketAddress X localAddress ()Ljava/net/SocketAddress; Z [
% \ doResolveAndConnect R(Ljava/net/SocketAddress;Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture; ^ _
` 5(Ljava/lang/String;I)Lio/netty/channel/ChannelFuture; :(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture; K c
d 9(Ljava/net/InetAddress;I)Lio/netty/channel/ChannelFuture; java/lang/NullPointerException g
h V initAndRegister k L
l io/netty/channel/ChannelFuture n channel ()Lio/netty/channel/Channel; p q o r isDone ()Z t u o v isSuccess x u o y io/netty/channel/Channel {
newPromise #()Lio/netty/channel/ChannelPromise; } ~ | doResolveAndConnect0 ?(Lio/netty/channel/Channel;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; ? ?
? (Lio/netty/channel/Channel;)V ?
? ?(Lio/netty/bootstrap/Bootstrap;Lio/netty/bootstrap/AbstractBootstrap$PendingRegistrationPromise;Lio/netty/channel/Channel;Ljava/net/SocketAddress;Ljava/net/SocketAddress;)V ?
? addListener R(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/channel/ChannelFuture; ? ? o ? promise ALio/netty/bootstrap/AbstractBootstrap$PendingRegistrationPromise; regFuture Lio/netty/channel/ChannelFuture; Lio/netty/channel/Channel; java/lang/Throwable ? eventLoop ()Lio/netty/channel/EventLoop; ? ? | ? getResolver M(Lio/netty/util/concurrent/EventExecutor;)Lio/netty/resolver/AddressResolver; ? ?
9 ? !io/netty/resolver/AddressResolver ? isSupported (Ljava/net/SocketAddress;)Z ? ? ? ?
isResolved ? ? ? ? io/netty/channel/EventLoop ? doConnect T(Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V ? ?
? resolve ;(Ljava/net/SocketAddress;)Lio/netty/util/concurrent/Future; ? ? ? ? io/netty/util/concurrent/Future ? ? v cause ()Ljava/lang/Throwable; ? ? ? ? close ? L | ? io/netty/channel/ChannelPromise ?
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; ? ? ? ? getNow ()Ljava/lang/Object; ? ? ? ? t(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/Channel;Lio/netty/channel/ChannelPromise;Ljava/net/SocketAddress;)V ?
? S(Lio/netty/util/concurrent/GenericFutureListener;)Lio/netty/util/concurrent/Future; ? ? ? ?
tryFailure (Ljava/lang/Throwable;)Z ? ? ? ? resolveFailureCause Ljava/lang/Throwable; Lio/netty/channel/EventLoop; =Lio/netty/resolver/AddressResolver; #Lio/netty/resolver/AddressResolver;
resolveFuture ;Lio/netty/util/concurrent/Future; !Lio/netty/util/concurrent/Future; !Lio/netty/channel/ChannelPromise; ? r n(Ljava/net/SocketAddress;Lio/netty/channel/Channel;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V ?
? execute (Ljava/lang/Runnable;)V ? ? ? ? connectPromise init java/lang/Exception ? pipeline $()Lio/netty/channel/ChannelPipeline; ? ? | ? io/netty/channel/ChannelHandler ? handler #()Lio/netty/channel/ChannelHandler; ? ?
% ? io/netty/channel/ChannelPipeline ? addLast F([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline; ? ? ? ? options0 ()Ljava/util/Map; ? ?
? ? setChannelOptions [(Lio/netty/channel/Channel;Ljava/util/Map;Lio/netty/util/internal/logging/InternalLogger;)V ? ?
? java/lang/Object ? attrs0 ?
entrySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator;
java/util/Iterator
hasNext u next ? getKey ? io/netty/util/AttributeKey attr 7(Lio/netty/util/AttributeKey;)Lio/netty/util/Attribute; | getValue ? io/netty/util/Attribute! set (Ljava/lang/Object;)V#$"% e HLjava/util/Map$Entry;Ljava/lang/Object;>; Ljava/util/Map$Entry; p "Lio/netty/channel/ChannelPipeline; options FLjava/util/Map;Ljava/lang/Object;>; Ljava/util/Map; attrs BLjava/util/Map;Ljava/lang/Object;>; (()Lio/netty/bootstrap/AbstractBootstrap; M1
2 handler not set4 clone
' A(Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/Bootstrap; group !Lio/netty/channel/EventLoopGroup;9: ; bs &()Lio/netty/bootstrap/BootstrapConfig; *()Lio/netty/resolver/AddressResolverGroup; .()Lio/netty/bootstrap/AbstractBootstrapConfig; >
A6 N
C $java/lang/CloneNotSupportedExceptionE
access$000 ?(Lio/netty/bootstrap/Bootstrap;Lio/netty/channel/Channel;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; x0 x1 x2 x3 x4
access$100 4io/netty/util/internal/logging/InternalLoggerFactoryP getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger;RS
QT -io/netty/resolver/DefaultAddressResolverGroupV INSTANCE /Lio/netty/resolver/DefaultAddressResolverGroup;XY WZ Signature Code LocalVariableTable LineNumberTable LocalVariableTypeTable
StackMapTable K(Lio/netty/resolver/AddressResolverGroup<*>;)Lio/netty/bootstrap/Bootstrap;
Exceptions -()Lio/netty/resolver/AddressResolverGroup<*>;
SourceFile InnerClasses ! \ B \ B ! ] N *? #*? %Y*? (? **? ,? .? ^ / 0 _ > 7 9 > &