use of kieker.common.record.IRecordReceivedListener in project iobserve-analysis by research-iobserve.
the class ProbeControlFilterTest method setUp.
/**
* Setup the test.
*/
@Before
public void setUp() {
synchronized (this) {
final IRecordReceivedListener listener = new IRecordReceivedListener() {
@Override
public void onRecordReceived(final IMonitoringRecord record) {
// do nothing.. the TCP sender is tested elsewhere
}
};
ProbeControlFilterTest.port++;
this.tcpReader = new SingleSocketRecordReader(ProbeControlFilterTest.port, ProbeControlFilterTest.BUFFER_SIZE, ProbeControlFilterTest.LOGGER, listener);
new Thread(this.tcpReader).start();
this.probeControlFilter = new ProbeControlFilter();
}
}
Aggregations