directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r225195 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java
Date Mon, 25 Jul 2005 22:43:20 GMT
Author: elecharny
Date: Mon Jul 25 15:43:18 2005
New Revision: 225195

URL: http://svn.apache.org/viewcvs?rev=225195&view=rev
Log:
Added a method that compute the length of the PDU in bytes.

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java?rev=225195&r1=225194&r2=225195&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java (original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/Asn1Object.java Mon Jul
25 15:43:18 2005
@@ -50,6 +50,13 @@
     }
 
     /**
+     * Compute the object length, which is the sum of all inner length.
+     * 
+     * @return The object's computed length
+     */
+    public abstract int computeLength();
+
+    /**
      * Get the expected object length.
      * 
      * @return The expected object's length



Mime
View raw message