You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2018/02/07 13:27:58 UTC

[incubator-plc4x] 05/06: Exposed a parseAddress method on the connection-adapter

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 21e6f784bd727f9fd635d24d5e9f3fe651e2fde3
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Wed Feb 7 14:26:21 2018 +0100

    Exposed a parseAddress method on the connection-adapter
---
 .../src/main/java/org/apache/plc4x/edgent/PlcConnectionAdapter.java   | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/integrations/apache-edgent/src/main/java/org/apache/plc4x/edgent/PlcConnectionAdapter.java b/integrations/apache-edgent/src/main/java/org/apache/plc4x/edgent/PlcConnectionAdapter.java
index 3eebcfe..ca6955d 100644
--- a/integrations/apache-edgent/src/main/java/org/apache/plc4x/edgent/PlcConnectionAdapter.java
+++ b/integrations/apache-edgent/src/main/java/org/apache/plc4x/edgent/PlcConnectionAdapter.java
@@ -99,6 +99,10 @@ public class PlcConnectionAdapter implements AutoCloseable {
         }
     }
 
+    public Address parseAddress(String addressString) throws PlcException {
+        return getConnection().parseAddress(addressString);
+    }
+
     <T> Supplier<T> newSupplier(Class<T> datatype, String addressStr) {
         PlcConnectionAdapter.checkDatatype(datatype);
         return new Supplier<T>() {

-- 
To stop receiving notification emails like this one, please contact
cdutz@apache.org.