Java: Added a close method to the session handler.
authorFredrik Tolf <fredrik@dolda2000.com>
Mon, 28 Jan 2008 18:30:56 +0000 (19:30 +0100)
committerFredrik Tolf <fredrik@dolda2000.com>
Mon, 28 Jan 2008 18:30:56 +0000 (19:30 +0100)
lib/java/dolda/dolcon/Session.java

index 0ef49d6..7f3cece 100644 (file)
@@ -57,4 +57,8 @@ public class Session {
            throw(new ProtocolException(e));
        }
     }
+    
+    public void close() {
+       conn.close();
+    }
 }