String HOST = args[0];
int PORT = Integer.parseInt(args[1]);
int CHANNELS = Integer.parseInt(args[2]);
EDFClient client = new EDFClient(HOST, PORT, CHANNELS);
client.addListener(new EDFListener() {
@Override
public void receivedSample(EDFSample sample) {
System.out.println(sample.toString());
}