From: Fredrik Tolf Date: Mon, 28 Jan 2008 18:30:56 +0000 (+0100) Subject: Java: Added a close method to the session handler. X-Git-Url: http://git.dolda2000.com/gitweb/?a=commitdiff_plain;h=92719bd69eccc35cf4aec15d0fc98049cfd950cc;p=doldaconnect.git Java: Added a close method to the session handler. --- diff --git a/lib/java/dolda/dolcon/Session.java b/lib/java/dolda/dolcon/Session.java index 0ef49d6..7f3cece 100644 --- a/lib/java/dolda/dolcon/Session.java +++ b/lib/java/dolda/dolcon/Session.java @@ -57,4 +57,8 @@ public class Session { throw(new ProtocolException(e)); } } + + public void close() { + conn.close(); + } }