1819202122232425262728
// register this class as listener on the client client.addListener(this); // connect the client to the BDF server client.connect(); } @Override public void receivedSample(BDFSample sample) { System.out.println(sample.toString());