net.sf.xenqtt.test
Class NonBlockingTcpEchoClient

java.lang.Object
  extended by net.sf.xenqtt.test.NonBlockingTcpEchoClient

public final class NonBlockingTcpEchoClient
extends Object

This client sends data to a TCP echo server using blocking IO. Data is in the following format:


Nested Class Summary
static class AbstractNonBlockingConnectionManager.ChannelInfo
           
 
Method Summary
static void main(String[] args)
           
 void newConnection(SocketChannel channel)
           
 void send(ByteBuffer buffer)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

start

public void start()

newConnection

public void newConnection(SocketChannel channel)
                   throws IOException
Throws:
IOException

send

public final void send(ByteBuffer buffer)


Copyright © 2013. All Rights Reserved.