classes.io.netty.bootstrap.Bootstrap.class Maven / Gradle / Ivy
???? 2?
U ?
U ?
\ ? ?
? U ? U ? U ?
\ ? U ?
? ?
?
U ? ? ?
?
?
U ?
U ? ? i
?
U ? ? ? ? ? ? ? ? ? ?
? ?
? ? ? ? ?
? ? ? ?
-
?
3 ?
U ! ?" ?#$ ?%&' U()
F ?*
F+
F,
F-./0.1
U23 ?456
\789
U ? U:
U;
U<
=> ?@A InnerClasses logger /Lio/netty/util/internal/logging/InternalLogger; DEFAULT_RESOLVER (Lio/netty/resolver/AddressResolverGroup; Signature +Lio/netty/resolver/AddressResolverGroup<*>; config $Lio/netty/bootstrap/BootstrapConfig; resolver BLio/netty/resolver/AddressResolverGroup;
remoteAddress Ljava/net/SocketAddress; ()V Code LineNumberTable LocalVariableTable this Lio/netty/bootstrap/Bootstrap; !(Lio/netty/bootstrap/Bootstrap;)V bootstrap H(Lio/netty/resolver/AddressResolverGroup;)Lio/netty/bootstrap/Bootstrap; LocalVariableTypeTable
StackMapTable9B K(Lio/netty/resolver/AddressResolverGroup<*>;)Lio/netty/bootstrap/Bootstrap; 8(Ljava/net/SocketAddress;)Lio/netty/bootstrap/Bootstrap; 3(Ljava/lang/String;I)Lio/netty/bootstrap/Bootstrap; inetHost Ljava/lang/String; inetPort I 7(Ljava/net/InetAddress;I)Lio/netty/bootstrap/Bootstrap; Ljava/net/InetAddress; connect "()Lio/netty/channel/ChannelFuture;
5(Ljava/lang/String;I)Lio/netty/channel/ChannelFuture; 9(Ljava/net/InetAddress;I)Lio/netty/channel/ChannelFuture; :(Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture; R(Ljava/net/SocketAddress;Ljava/net/SocketAddress;)Lio/netty/channel/ChannelFuture; localAddress doResolveAndConnect promise PendingRegistrationPromise ALio/netty/bootstrap/AbstractBootstrap$PendingRegistrationPromise; regFuture Lio/netty/channel/ChannelFuture; channel Lio/netty/channel/Channel;CD doResolveAndConnect0 ?(Lio/netty/channel/Channel;Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)Lio/netty/channel/ChannelFuture; resolveFailureCause Ljava/lang/Throwable; eventLoop Lio/netty/channel/EventLoop; #Lio/netty/resolver/AddressResolver;
resolveFuture !Lio/netty/util/concurrent/Future; cause !Lio/netty/channel/ChannelPromise; =Lio/netty/resolver/AddressResolver; ;Lio/netty/util/concurrent/Future;EFGH doConnect T(Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V connectPromise init (Lio/netty/channel/Channel;)V t e Entry Ljava/util/Map$Entry; i$ Ljava/util/Iterator; p "Lio/netty/channel/ChannelPipeline; options Ljava/util/Map; attrs LLjava/util/Map$Entry;Ljava/lang/Object;>; HLjava/util/Map$Entry;Ljava/lang/Object;>; FLjava/util/Map;Ljava/lang/Object;>; BLjava/util/Map;Ljava/lang/Object;>;IJKL!
ExceptionsM validate ()Lio/netty/bootstrap/Bootstrap; clone A(Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/Bootstrap; group !Lio/netty/channel/EventLoopGroup; bs &()Lio/netty/bootstrap/BootstrapConfig; ()Ljava/net/SocketAddress; *()Lio/netty/resolver/AddressResolverGroup; -()Lio/netty/resolver/AddressResolverGroup<*>; .()Lio/netty/bootstrap/AbstractBootstrapConfig; (()Lio/netty/bootstrap/AbstractBootstrap; ()Ljava/lang/Object;N
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 `Lio/netty/bootstrap/AbstractBootstrap;
SourceFile Bootstrap.java ? ? ? ? k l "io/netty/bootstrap/BootstrapConfig k r e f a b g b kO i jPQ java/net/InetSocketAddress kR ? ? java/lang/IllegalStateException remoteAddress not set kS ? ? ? ? ? ? java/lang/NullPointerExceptionT ?C ?UVWXWDYZ ?io/netty/bootstrap/AbstractBootstrap$PendingRegistrationPromise k ? io/netty/bootstrap/Bootstrap$1 k[\] ?^B_`FabcbdeG ?fg ?Hhij ? java/net/SocketAddress io/netty/bootstrap/Bootstrap$2 kk\l java/lang/Throwablemn io/netty/bootstrap/Bootstrap$3 koEpqrs io/netty/channel/ChannelHandlertuIvwxyJz{|}~LW? ? java/util/Map$Entry e?? ? io/netty/channel/ChannelOption? ???? _ ` java/lang/StringBuilder Unknown channel option: ????????S Failed to set a channel option: ???y io/netty/util/AttributeKey????? ? ? handler not set io/netty/bootstrap/Bootstrap ? ? e ? ? ??????? $io/netty/bootstrap/AbstractBootstrap &io/netty/resolver/AddressResolverGroup io/netty/channel/ChannelFuture io/netty/channel/Channel io/netty/channel/EventLoop !io/netty/resolver/AddressResolver io/netty/util/concurrent/Future io/netty/channel/ChannelPromise io/netty/channel/ChannelPipeline
java/util/Map java/lang/Object java/util/Iterator java/lang/Exception $java/lang/CloneNotSupportedException )(Lio/netty/bootstrap/AbstractBootstrap;)V createUnresolved 1(Ljava/lang/String;I)Ljava/net/InetSocketAddress; (Ljava/net/InetAddress;I)V (Ljava/lang/String;)V initAndRegister ()Lio/netty/channel/Channel; isDone ()Z isSuccess
newPromise #()Lio/netty/channel/ChannelPromise; ?(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; ()Lio/netty/channel/EventLoop; getResolver M(Lio/netty/util/concurrent/EventExecutor;)Lio/netty/resolver/AddressResolver; isSupported (Ljava/net/SocketAddress;)Z
isResolved resolve ;(Ljava/net/SocketAddress;)Lio/netty/util/concurrent/Future; ()Ljava/lang/Throwable; close
setFailure 8(Ljava/lang/Throwable;)Lio/netty/channel/ChannelPromise; getNow 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 n(Ljava/net/SocketAddress;Lio/netty/channel/Channel;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V execute (Ljava/lang/Runnable;)V pipeline $()Lio/netty/channel/ChannelPipeline; handler #()Lio/netty/channel/ChannelHandler; addLast F([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline; options0 ()Ljava/util/Map; entrySet ()Ljava/util/Set;
java/util/Set iterator ()Ljava/util/Iterator; hasNext next "()Lio/netty/channel/ChannelConfig; getKey getValue io/netty/channel/ChannelConfig setOption 5(Lio/netty/channel/ChannelOption;Ljava/lang/Object;)Z append -(Ljava/lang/String;)Ljava/lang/StringBuilder; -(Ljava/lang/Object;)Ljava/lang/StringBuilder; toString ()Ljava/lang/String; -io/netty/util/internal/logging/InternalLogger warn *(Ljava/lang/String;Ljava/lang/Throwable;)V attrs0 attr 7(Lio/netty/util/AttributeKey;)Lio/netty/util/Attribute; io/netty/util/Attribute set (Ljava/lang/Object;)V 4io/netty/util/internal/logging/InternalLoggerFactory getInstance B(Ljava/lang/Class;)Lio/netty/util/internal/logging/InternalLogger; -io/netty/resolver/DefaultAddressResolverGroup INSTANCE /Lio/netty/resolver/DefaultAddressResolverGroup; ! U \ _ ` a b c d e f B g b c h B i j k l m N *? *? Y*? ? *? ? ? n > 7 9 > o p q k r m q )*+? *? Y*? ? *? ? *+? ? *+?
?
? n A 7 9 B C ( D o ) p q ) s q g t m z *+? ? ? +? *? n
P Q o p q g b u g d v K w? w x w x c y i z m ? *+?
*? n
Y Z o p q i j i { m M *+? ?
*? n
a b o p q | } ~ i ? m Q *? Y+?
?
*? n
i
j o p q | ? ~ ? ? m w %*? W*?
L+?
? Y? ?*+*? ? ? ? n q r
s t w o % p q
i j v ? ? ? ? m H
*+? ? ? n ~ o
p q
| }
~ ? ? m L *? Y+?
? ? n ? o p q | ? ~ ? ? m i +?
? Y? ?*? W*+*? ? ? ? n ? ? ? ? o p q i j v ? ? m m +?
? Y? ?*? W*+,? ? n ? ? ? ? o p q i j ? j v ? ? m ? T*? N-? :-? ? -? ? -?*+,? ? ?? Y? :-? Y*+,? ? ! W? n &