1. Michael Caron
  2. IntelixNetLib

Commits

Michael Caron  committed 6cf79ba

updated IPConnection to be able to set a timeout after object creation, updated to version 0.8.1

  • Participants
  • Parent commits 2b50c38
  • Branches default

Comments (0)

Files changed (2)

File pom.xml

View file
     <groupId>com.intelix</groupId>
     <artifactId>NetLib</artifactId>
     <packaging>jar</packaging>
-    <version>0.8.0</version>
+    <version>0.8.1</version>
     <name>NetLib</name>
 
     <description>Networking library for Intelix HW</description>

File src/main/java/com/intelix/net/IPConnection.java

View file
         this.port = port;
     }
 
+    public void setIoTimeout(int newTimeoutInMillis)
+    {
+        ioTimeout = newTimeoutInMillis;
+    }
+
     @Override
     public InputStream getInStream() {
         Logger.getLogger(getClass().getName()).finer("NET:   > Returning IO IN Stream for IP Connection.");