This is an automated email from the ASF dual-hosted git repository. cdutz pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git
commit 44860d939136cb032c73c797bb282503aac08908 Author: Christofer Dutz <christofer.d...@c-ware.de> AuthorDate: Fri Aug 17 16:32:51 2018 +0200 Updated the code after moving the PlcRequestContainer to another package --- .../plc4x/java/ethernetip/connection/BaseEtherNetIpPlcConnection.java | 1 + .../apache/plc4x/java/ethernetip/netty/Plc4XEtherNetIpProtocol.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plc4j/protocols/ethernetip/src/main/java/org/apache/plc4x/java/ethernetip/connection/BaseEtherNetIpPlcConnection.java b/plc4j/protocols/ethernetip/src/main/java/org/apache/plc4x/java/ethernetip/connection/BaseEtherNetIpPlcConnection.java index 31a6c2d..ce2870a 100644 --- a/plc4j/protocols/ethernetip/src/main/java/org/apache/plc4x/java/ethernetip/connection/BaseEtherNetIpPlcConnection.java +++ b/plc4j/protocols/ethernetip/src/main/java/org/apache/plc4x/java/ethernetip/connection/BaseEtherNetIpPlcConnection.java @@ -25,6 +25,7 @@ import org.apache.plc4x.java.api.messages.*; import org.apache.plc4x.java.api.model.Address; import org.apache.plc4x.java.base.connection.AbstractPlcConnection; import org.apache.plc4x.java.base.connection.ChannelFactory; +import org.apache.plc4x.java.base.messages.PlcRequestContainer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; diff --git a/plc4j/protocols/ethernetip/src/main/java/org/apache/plc4x/java/ethernetip/netty/Plc4XEtherNetIpProtocol.java b/plc4j/protocols/ethernetip/src/main/java/org/apache/plc4x/java/ethernetip/netty/Plc4XEtherNetIpProtocol.java index 3d6bf3d..2e53530 100644 --- a/plc4j/protocols/ethernetip/src/main/java/org/apache/plc4x/java/ethernetip/netty/Plc4XEtherNetIpProtocol.java +++ b/plc4j/protocols/ethernetip/src/main/java/org/apache/plc4x/java/ethernetip/netty/Plc4XEtherNetIpProtocol.java @@ -22,7 +22,6 @@ import com.digitalpetri.enip.EnipPacket; import com.digitalpetri.enip.EnipStatus; import com.digitalpetri.enip.commands.*; import com.digitalpetri.enip.cpf.*; -import io.netty.buffer.ByteBuf; import io.netty.channel.ChannelHandlerContext; import io.netty.handler.codec.MessageToMessageCodec; import org.apache.plc4x.java.api.exceptions.PlcProtocolException; @@ -30,6 +29,7 @@ import org.apache.plc4x.java.api.messages.*; import org.apache.plc4x.java.api.model.Address; import org.apache.plc4x.java.base.events.ConnectEvent; import org.apache.plc4x.java.base.events.ConnectedEvent; +import org.apache.plc4x.java.base.messages.PlcRequestContainer; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -37,7 +37,6 @@ import java.nio.charset.Charset; import java.util.*; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.atomic.AtomicLong; -import java.util.function.Consumer; public class Plc4XEtherNetIpProtocol extends MessageToMessageCodec<EnipPacket, PlcRequestContainer<PlcRequest, PlcResponse>> {