Skip to content
Snippets Groups Projects
Commit c3748a20 authored by David Georg Reichelt's avatar David Georg Reichelt
Browse files

Fix receiver and copy receiver jar to required directory

parent 7c1d68bc
No related branches found
No related tags found
No related merge requests found
......@@ -13,3 +13,12 @@ dependencies {
implementation 'org.slf4j:slf4j-api:1.7.+'
implementation 'ch.qos.logback:logback-classic:1.2.3'
}
jar {
doLast {
copy {
from jar
into "../../frameworks/Kieker/scripts/receiver/lib/"
}
}
}
package moobench.tools.receiver;
import kieker.analysis.source.rewriter.NoneTraceMetadataRewriter;
import kieker.analysis.source.tcp.MultipleConnectionTcpSourceStage;
import kieker.analysisteetime.plugin.filter.forward.CountingFilter;
import teetime.framework.Configuration;
public class ReceiverConfiguration extends Configuration {
public ReceiverConfiguration(int inputPort, int bufferSize) {
MultipleConnectionTcpSourceStage source = new MultipleConnectionTcpSourceStage(inputPort, bufferSize, null);
public ReceiverConfiguration(final int inputPort, final int bufferSize) {
MultipleConnectionTcpSourceStage source = new MultipleConnectionTcpSourceStage(inputPort, bufferSize, new NoneTraceMetadataRewriter());
CountingFilter counting = new CountingFilter();
connectPorts(source.getOutputPort(), counting.getInputPort());
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment