Package etch.util.core.io

Examples of etch.util.core.io.SessionData


  /** @throws Exception */
  @Test
  public void constructor3() throws Exception
  {
    SessionData dh = new MyDataHandler();
    SocketChannel s = newSocketChannel( "127.0.0.1", port );
    SocketChannel t = lh.accepted.waitUntilNotEqAndSet( null, TIMEOUT, null );

    r.put( "connection", s );
    Tcp2Connection c = new Tcp2Connection( "tcp:", r );
View Full Code Here


  /** @throws Exception */
  @Test
  public void constructor9() throws Exception
  {
    SessionData dh = new MyDataHandler();
    Tcp2Connection c = new Tcp2Connection( "tcp://localhost:"+port, r );
    c.setSession( dh );
    assertSame( dh, c.getSession() );
  }
View Full Code Here

TOP

Related Classes of etch.util.core.io.SessionData

Copyright © 2018 www.massapicom. 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.