METHOD_0 ( ) { com . alibaba . IDENT_0 . IDENT_1 . IDENT_2 server = com . alibaba . IDENT_0 . IDENT_1 . IDENT_3 . METHOD_1 ( ) ; com . alibaba . IDENT_0 . IDENT_1 . IDENT_4 client = com . alibaba . IDENT_0 . IDENT_1 . IDENT_3 . METHOD_2 ( ) ; for ( int i = 0 ; i < 100 ; i ++ ) { com . alibaba . IDENT_0 . IDENT_1 . IDENT_5 IDENT_6 = new com . alibaba . IDENT_0 . IDENT_1 . METHOD_3 ( ) ; IDENT_6 . METHOD_4 ( i ) ; IDENT_6 . METHOD_5 ( STRING_0 ) ; com . alibaba . IDENT_0 . IDENT_1 . protocol . IDENT_7 request = com . alibaba . IDENT_0 . IDENT_1 . protocol . IDENT_7 . METHOD_6 ( 0 , IDENT_6 ) ; com . alibaba . IDENT_0 . IDENT_1 . protocol . IDENT_7 response = client . METHOD_7 ( STRING_1 , request , ( 1000 * INT_0 ) ) ; System . out . println ( ( STRING_2 + response ) ) ; "<AssertPlaceHolder>" ; } client . METHOD_8 ( ) ; server . METHOD_8 ( ) ; System . out . println ( STRING_3 ) ; } METHOD_7 ( java . lang . String , com . alibaba . IDENT_0 . IDENT_1 . protocol . IDENT_7 , long ) { long IDENT_8 = java . lang . System . currentTimeMillis ( ) ; java . net . IDENT_9 IDENT_10 = com . alibaba . IDENT_0 . IDENT_1 . common . IDENT_11 . METHOD_9 ( IDENT_12 ) ; java . nio . IDENT_13 . IDENT_14 IDENT_15 = com . alibaba . IDENT_0 . IDENT_1 . common . IDENT_11 . connect ( IDENT_10 ) ; if ( IDENT_15 != null ) { boolean IDENT_16 = false ; try { IDENT_15 . METHOD_10 ( true ) ; IDENT_15 . METHOD_11 ( ) . METHOD_12 ( ( ( int ) ( IDENT_17 ) ) ) ; java . nio . ByteBuffer IDENT_18 = request . encode ( ) ; while ( IDENT_18 . METHOD_13 ( ) ) { int length = IDENT_15 . write ( IDENT_18 ) ; if ( length > 0 ) { if ( IDENT_18 . METHOD_13 ( ) ) { if ( ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_8 ) > IDENT_17 ) { throw new com . alibaba . IDENT_0 . IDENT_1 . exception . METHOD_14 ( IDENT_12 ) ; } } } else { throw new com . alibaba . IDENT_0 . IDENT_1 . exception . METHOD_14 ( IDENT_12 ) ; } java . lang . Thread . sleep ( 1 ) ; } IDENT_16 = true ; java . nio . ByteBuffer IDENT_19 = java . nio . ByteBuffer . METHOD_15 ( 4 ) ; while ( IDENT_19 . METHOD_13 ( ) ) { int length = IDENT_15 . read ( IDENT_19 ) ; if ( length > 0 ) { if ( IDENT_19 . METHOD_13 ( ) ) { if ( ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_8 ) > IDENT_17 ) { throw new com . alibaba . IDENT_0 . IDENT_1 . exception . METHOD_16 ( IDENT_12 , IDENT_17 ) ; } } } else { throw new com . alibaba . IDENT_0 . IDENT_1 . exception . METHOD_16 ( IDENT_12 , IDENT_17 ) ; } java . lang . Thread . sleep ( 1 ) ; } int size = IDENT_19 . METHOD_17 ( 0 ) ; java . nio . ByteBuffer IDENT_20 = java . nio . ByteBuffer . METHOD_15 ( size ) ; while ( IDENT_20 . METHOD_13 ( ) ) { int length = IDENT_15 . read ( IDENT_20 ) ; if ( length > 0 ) { if ( IDENT_20 . METHOD_13 ( ) ) { if ( ( ( java . lang . System . currentTimeMillis ( ) ) - IDENT_8 ) > IDENT_17 ) { throw new com . alibaba . IDENT_0 . IDENT_1 . exception . METHOD_16 ( IDENT_12 , IDENT_17 ) ; } } } else { throw new com . alibaba . IDENT_0 . IDENT_1 . exception . METHOD_16 ( IDENT_12 , IDENT_17 ) ; } java . lang . Thread . sleep ( 1 ) ; } IDENT_20 . METHOD_18 ( ) ; return com . alibaba . IDENT_0 . IDENT_1 . protocol . IDENT_7 . decode ( IDENT_20 ) ; } catch ( java . io . IOException e ) { e . printStackTrace ( ) ; if ( IDENT_16 ) { throw new com . alibaba . IDENT_0 . IDENT_1 . exception . METHOD_16 ( IDENT_12 , IDENT_17 ) ; } else { throw new com . alibaba . IDENT_0 . IDENT_1 . exception . METHOD_14 ( IDENT_12 ) ; } } finally { try { IDENT_15 . close ( ) ; } catch ( java . io . IOException e ) { e . printStackTrace ( ) ; } } } else { throw new com . alibaba . IDENT_0 . IDENT_1 . exception . METHOD_19 ( IDENT_12 ) ; } }
org . junit . Assert . assertTrue ( ( response != null ) )