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