Files
UniversalTestSoftware/server/libs/classes/com/cbsd/universaltestsoftwareserver/netty/TcpClient.class

30 lines
3.6 KiB
Plaintext
Raw Normal View History

<EFBFBD><EFBFBD><EFBFBD><EFBFBD>4<00>
 java/lang/Object<init>()V  
4com/cbsd/universaltestsoftwareserver/netty/TcpClienthostLjava/lang/String;  portI&io/netty/channel/nio/NioEventLoopGroup
io/netty/bootstrap/Bootstrap

 groupI(Lio/netty/channel/EventLoopGroup;)Lio/netty/bootstrap/AbstractBootstrap;,io/netty/channel/socket/nio/NioSocketChannel
  channel9(Ljava/lang/Class;)Lio/netty/bootstrap/AbstractBootstrap; "#$ %&io/netty/channel/ChannelOption TCP_NODELAY Lio/netty/channel/ChannelOption;
()* +,java/lang/BooleanvalueOf(Z)Ljava/lang/Boolean;
. /0optionZ(Lio/netty/channel/ChannelOption;Ljava/lang/Object;)Lio/netty/bootstrap/AbstractBootstrap;26com/cbsd/universaltestsoftwareserver/netty/TcpClient$1
14 59(Lcom/cbsd/universaltestsoftwareserver/netty/TcpClient;)V
7 89handlerI(Lio/netty/channel/ChannelHandler;)Lio/netty/bootstrap/AbstractBootstrap;
; <=connect5(Ljava/lang/String;I)Lio/netty/channel/ChannelFuture; ?@A BCio/netty/channel/ChannelFuturesync"()Lio/netty/channel/ChannelFuture; EFG HIjava/lang/SystemoutLjava/io/PrintStream;Kjava/lang/StringBuilder
JN已连接到服务器:
JP QRappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;T:
JV QW(I)Ljava/lang/StringBuilder;
JY Z[toString()Ljava/lang/String;
]^_ `ajava/io/PrintStreamprintln(Ljava/lang/String;)Vc"请输入消息(输入exit退出): ?e f()Lio/netty/channel/Channel;hjava/io/BufferedReaderjjava/io/InputStreamReader El mninLjava/io/InputStream;
ip q(Ljava/io/InputStream;)V
gs t(Ljava/io/Reader;)V
gv w[readLineyexit
{|} ~java/lang/StringequalsIgnoreCase(Ljava/lang/String;)Z<00>
<00><00><00> <00><00>io/netty/channel/Channel writeAndFlush4(Ljava/lang/Object;)Lio/netty/channel/ChannelFuture; <00><00> <00>C closeFuture <00><00><00> <00><00>io/netty/channel/EventLoopGroupshutdownGracefully#()Lio/netty/util/concurrent/Future;<00> localhost
<00><00><00> <00><00>java/lang/IntegerparseInt(Ljava/lang/String;)I
<00> <00>(Ljava/lang/String;I)V
<00> <00>runCodeLineNumberTableLocalVariableTablethis6Lcom/cbsd/universaltestsoftwareserver/netty/TcpClient;MethodParametersline bootstrapLio/netty/bootstrap/Bootstrap;f Lio/netty/channel/ChannelFuture;Lio/netty/channel/Channel;Ljava/io/BufferedReader;!Lio/netty/channel/EventLoopGroup; StackMapTable<00>java/lang/Throwable
Exceptions<00>java/lang/Exceptionmain([Ljava/lang/String;)Vargs[Ljava/lang/String;
SourceFileTcpClient.java InnerClasses<00>Bcom/cbsd/universaltestsoftwareserver/netty/TcpClient$ClientHandler ClientHandler! <00><00>Y*<2A>*+<2B>*<1C> <0A><00> <00> <00><00> <00>  <00><00><01><00><>Y<>L<>Y<>M,+<2B><17><1B><1D><14>!<04>'<27>-<2D><14>1Y*<2A>3<>6W,*<2A>*<2A> <0A>:<3A>>N<>D<>JY<4A>LM<>O*<2A><07>OS<>O*<2A> <0A>U<>X<>\<5C>Db<>\-<2D>d:<04>gY<67>iY<69>k<>o<>r:<05>u:<06>/x<06>z<><06>"<04>JY<4A>L<06>O<12><>O<>X<><00>W<><57><EFBFBD>-<2D>d<00><00><00>>W+<2B><00>W<>:+<2B><00>W<07><><00><00><00><00><00><00>Z$5 9-K.s/{2<00>3<00>5<00>6<00>7<00>:<00>;<00>><00>A<00>B<00>A<00>B<00>C<00>H<00>.<00> <00><00><00>K<00><00><00><00>\<00><00>Im<00><00><00><00><00><00><00>5<05><00><00>?<00>g<00>{<7B><1E><00><00> <00><00> <00><00><00><00>*<12>L<1F>=*<2A><>*2L*<2A><04>
*2<><00>=<3D>Y+<1C><00><><00><><00>"efh iklo)p<00> *<00><00>' #<00>
<02>{ <00><00><00><00><00><00><00>1<00><00>