Package etch.util.core.nio

Examples of etch.util.core.nio.Tcp2Connection.shutdownOutput()


      assertNotNull( dh.xbuf );
      assertEquals( 1, dh.xbuf.length );
      assertEquals( (byte) i, dh.xbuf[0] );

//      Log.report( "c.shutingDownOutput" );
      c.shutdownOutput();
//      Log.report( "c.shutdownOutput" );
     
//      Log.report( "t.reading" );
      assertEquals( -1, read( t ) );
//      Log.report( "t.eof" );
View Full Code Here


   
    assertEquals( 21, read( t ) );
    assertEquals( 22, read( t ) );
    assertEquals( 23, read( t ) );
   
    c.shutdownOutput();
   
    assertEquals( -1, read( t ) );
   
    c.close();
   
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.