Client(String host, int port, int size, int count) throws Exception
{
_count = count;
_size = size;
AMQDataBlock block = BasicDeliverTest.getDataBlock(size);
InetSocketAddress address = new InetSocketAddress(host, port);
ConnectFuture future = new SocketConnector().connect(address, this);
future.join();
_session = future.getSession();