You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2018/02/02 13:02:02 UTC
[incubator-plc4x] branch feature/Beckhoff_ADS_protocol updated:
added jdoc for tcpdumper
This is an automated email from the ASF dual-hosted git repository.
sruehl pushed a commit to branch feature/Beckhoff_ADS_protocol
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
The following commit(s) were added to refs/heads/feature/Beckhoff_ADS_protocol by this push:
new 4ff6028 added jdoc for tcpdumper
4ff6028 is described below
commit 4ff60289d292c0dfd0c737eb93ade501cd46ac28
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Fri Feb 2 14:01:59 2018 +0100
added jdoc for tcpdumper
---
.../java/org/apache/plc4x/java/ads/util/ExtendWithTcpHexDumper.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/plc4j/protocols/ads/src/test/java/org/apache/plc4x/java/ads/util/ExtendWithTcpHexDumper.java b/plc4j/protocols/ads/src/test/java/org/apache/plc4x/java/ads/util/ExtendWithTcpHexDumper.java
index e91a020..9be3a85 100644
--- a/plc4j/protocols/ads/src/test/java/org/apache/plc4x/java/ads/util/ExtendWithTcpHexDumper.java
+++ b/plc4j/protocols/ads/src/test/java/org/apache/plc4x/java/ads/util/ExtendWithTcpHexDumper.java
@@ -30,7 +30,13 @@ import static java.lang.annotation.ElementType.*;
@Retention(RetentionPolicy.RUNTIME)
@ExtendWith(TcpHexDumper.class)
public @interface ExtendWithTcpHexDumper {
+ /**
+ * Can be used to set a fixed port for the dumper, otherwise he will use a random port.
+ */
int port() default 0;
+ /**
+ * The timeout for the pool shutdown. After this no dumps will be printed anymore.
+ */
int shutdownTimeout() default 10;
}
--
To stop receiving notification emails like this one, please contact
sruehl@apache.org.