1516171819202122232425
// create a BDFNetworkClient BDFClient client = new BDFClient("localhost", 4322, 33); // register this class as listener on the client client.addListener(this); // connect the client to the BDF server client.connect(); }