classes.io.netty.bootstrap.Bootstrap.class Maven / Gradle / Ivy
The newest version!
???? 2[
E ?
E ?
L ? ?
? E ? E ? E ?
L ? E ?
? ?
?
E ? ? ?
?
?
E ?
E ? X
? ?
E ? ? ? ? ? ? ? ? ? ?
? ?
? ? ? ? ?
? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?
, ? ? ? ? ? ? ? ? ?
2 ? ? ? ? ? ?
? ? ?
E ? ? ?
E ? ? ? ? E ?
E
E
E
E
L
E ? E
E
E
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
StackMapTable 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; 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; ? doConnect T(Ljava/net/SocketAddress;Ljava/net/SocketAddress;Lio/netty/channel/ChannelPromise;)V connectPromise init (Lio/netty/channel/Channel;)V p "Lio/netty/channel/ChannelPipeline; 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;
Exceptions
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 ? ? ? ? Z [ "io/netty/bootstrap/BootstrapConfig Z a T U P Q V Q Z X Y java/net/InetSocketAddress Z ? ? java/lang/IllegalStateException remoteAddress not set Z x ? y w q v r !"#"$% ?io/netty/bootstrap/AbstractBootstrap$PendingRegistrationPromise Z ? io/netty/bootstrap/Bootstrap$1 Z&'( ?)*+,-.-/0 ?12 r345 ? java/net/SocketAddress io/netty/bootstrap/Bootstrap$2 Z6'7 java/lang/Throwable89 io/netty/bootstrap/Bootstrap$3 Z:;<=> io/netty/channel/ChannelHandler?@ABCDEFGHIJKLMN Entry [Ljava/util/Map$Entry; N OOPQERJST ? ? handler not set io/netty/bootstrap/Bootstrap ? ? T ? ? ?UVWXYZ $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 $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 !io/netty/util/internal/ObjectUtil checkNotNull 8(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object; 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; io/netty/channel/ChannelPipeline addLast F([Lio/netty/channel/ChannelHandler;)Lio/netty/channel/ChannelPipeline; options0 ()Ljava/util/Map;
java/util/Map entrySet ()Ljava/util/Set; newOptionArray (I)[Ljava/util/Map$Entry;
java/util/Set toArray (([Ljava/lang/Object;)[Ljava/lang/Object; java/util/Map$Entry setChannelOptions b(Lio/netty/channel/Channel;[Ljava/util/Map$Entry;Lio/netty/util/internal/logging/InternalLogger;)V attrs0 newAttrArray
setAttributes 3(Lio/netty/channel/Channel;[Ljava/util/Map$Entry;)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; ! E L N O P Q R S T U B V Q R W B X Y Z [ \ N *? *? Y*? ? *? ? ? ] = 6 8 = ^ _ ` Z a \ q )*+? *? Y*? ? *? ? *+? ? *+?
?
? ] @ 6 8 A B ( C ^ ) _ ` ) b ` V c \ z *+? ? ? +? *? ]
O P ^ _ ` V Q d V S e K f? f g f g R h X i \ ? *+?
*? ]
X Y ^ _ ` X Y X j \ M *+? ?
*? ]
` a ^ _ ` k l m n X o \ Q *? Y+?
?
*? ]
h
i ^ _ ` k p m n q r \ w %*? W*?
L+?
? Y? ?*+*? ? ? ? ] p q
r s v ^ % _ `
X Y e ? s q t \ H
*+? ? ? ] } ^
_ `
k l
m n q u \ L *? Y+?
? ? ] ? ^ _ ` k p m n q v \ U +? W*? W*+*? ? ? ? ] ? ? ? ^ _ ` X Y q w \ Y +? W*? W*+,? ? ] ? ? ? ^ _ ` X Y x Y y w \ ? T*? N-? :-? ? -? ? -?*+,? ? ?? Y? :-? Y*+,? ? W? ] &