public void run() {
final TcpConnection c = client.connect();
Assert.assertThat(c.isOpen(), is(true));
log.debug("main thread {}", Thread.currentThread()
.toString());
Assert.assertThat((String) c.send("hello client"), is("hello client"));
Assert.assertThat((String) c.send("hello multithread test"), is("hello multithread test"));
Assert.assertThat((String) c.send("getfile"), is("zero copy file transfers"));
Assert.assertThat((String) c.send("quit"), is("bye!"));
log.debug("complete session {}", c.getId());
}