}
public VirtualClient(URI uri, InetSocketAddress addr) throws Exception {
this.mid = new byte[2];
this.latencies = new IntArray();
this.producer = new VeryEcoMessageProducer();
this.pSend = new DatagramPacket(new byte[0], 0);
this.pRecv = new DatagramPacket(new byte[100], 100);
this.runnable = true;
setURI(uri);
bind(addr);