directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r985489 - in /directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap: codec/ message/ message/internal/
Date Sat, 14 Aug 2010 13:45:21 GMT
Author: elecharny
Date: Sat Aug 14 13:45:20 2010
New Revision: 985489

URL: http://svn.apache.org/viewvc?rev=985489&view=rev
Log:
o Removed the 'public' qualifier from the messages' method dedicated to the encoder
o Added some more toString() methods
o Removed commented code

Modified:
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapEncoder.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/IntermediateResponseImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapProtocolEncoder.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapResultImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponseImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultDoneImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultEntryImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultReferenceImpl.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalLdapResult.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalModifyDnResponse.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalModifyResponse.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultDone.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultEntry.java
    directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultReference.java

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapEncoder.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapEncoder.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapEncoder.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/codec/LdapEncoder.java
Sat Aug 14 13:45:20 2010
@@ -22,21 +22,14 @@ package org.apache.directory.shared.ldap
 
 import java.io.IOException;
 import java.io.OutputStream;
-import java.nio.BufferOverflowException;
 import java.nio.ByteBuffer;
 import java.nio.channels.Channels;
 import java.nio.channels.WritableByteChannel;
-import java.util.Collection;
 
-import org.apache.directory.shared.asn1.ber.tlv.TLV;
-import org.apache.directory.shared.asn1.ber.tlv.UniversalTag;
-import org.apache.directory.shared.asn1.ber.tlv.Value;
 import org.apache.directory.shared.asn1.codec.EncoderException;
 import org.apache.directory.shared.asn1.codec.stateful.EncoderCallback;
 import org.apache.directory.shared.i18n.I18n;
-import org.apache.directory.shared.ldap.message.internal.InternalLdapResult;
 import org.apache.directory.shared.ldap.message.internal.InternalMessage;
-import org.apache.directory.shared.ldap.message.internal.InternalReferral;
 import org.apache.directory.shared.ldap.message.spi.Provider;
 import org.apache.directory.shared.ldap.message.spi.ProviderEncoder;
 import org.apache.directory.shared.ldap.message.spi.ProviderException;
@@ -251,405 +244,4 @@ public class LdapEncoder implements Prov
     {
         encodeCallback = cb;
     }
-
-
-    /**
-     * Generate the PDU which contains the encoded object. 
-     * 
-     * The generation is done in two phases : 
-     * - first, we compute the length of each part and the
-     * global PDU length 
-     * - second, we produce the PDU. 
-     * 
-     * <pre>
-     * 0x30 L1 
-     *   | 
-     *   +--> 0x02 L2 MessageId  
-     *   +--> ProtocolOp 
-     *   +--> Controls 
-     *   
-     * L2 = Length(MessageId)
-     * L1 = Length(0x02) + Length(L2) + L2 + Length(ProtocolOp) + Length(Controls)
-     * LdapMessageLength = Length(0x30) + Length(L1) + L1
-     * </pre>
-     * 
-     * @param message The message to encode
-     * @return A ByteBuffer that contains the PDU
-     * @throws EncoderException If anything goes wrong.
-     *
-    private ByteBuffer encodeMessage( InternalMessage message ) throws EncoderException
-    {
-        int length = computeMessageLength( message );
-
-        try
-        {
-            ByteBuffer buffer = ByteBuffer.allocate( length );
-
-            try
-            {
-                // The LdapMessage Sequence
-                buffer.put( UniversalTag.SEQUENCE_TAG );
-
-                // The length has been calculated by the computeLength method
-                buffer.put( TLV.getBytes( message.getMessageLength() ) );
-            }
-            catch ( BufferOverflowException boe )
-            {
-                throw new EncoderException( I18n.err( I18n.ERR_04005 ) );
-            }
-
-            // The message Id
-            Value.encode( buffer, message.getMessageId() );
-
-            // Add the protocolOp part
-            encodeProtocolOp( buffer, message );
-
-            // Do the same thing for Controls, if any.
-            Map<String, Control> controls = message.getControls();
-
-            if ( ( controls != null ) && ( controls.size() > 0 ) )
-            {
-                // Encode the controls
-                buffer.put( ( byte ) LdapConstants.CONTROLS_TAG );
-                buffer.put( TLV.getBytes( message.getControlsLength() ) );
-
-                // Encode each control
-                for ( Control control : controls.values() )
-                {
-                    ( ( CodecControl ) control ).encode( buffer );
-                }
-            }
-
-            return buffer;
-        }
-        catch ( EncoderException ee )
-        {
-            MessageEncoderException exception = new MessageEncoderException( message.getMessageId(),
ee.getMessage() );
-
-            throw exception;
-        }
-    }
-
-
-    /**
-     * Compute the LdapMessage length LdapMessage : 
-     * 0x30 L1 
-     *   | 
-     *   +--> 0x02 0x0(1-4) [0..2^31-1] (MessageId) 
-     *   +--> protocolOp 
-     *   [+--> Controls] 
-     *   
-     * MessageId length = Length(0x02) + length(MessageId) + MessageId.length 
-     * L1 = length(ProtocolOp) 
-     * LdapMessage length = Length(0x30) + Length(L1) + MessageId length + L1
-     *
-    private int computeMessageLength( InternalMessage message )
-    {
-        // The length of the MessageId. It's the sum of
-        // - the tag (0x02), 1 byte
-        // - the length of the Id length, 1 byte
-        // - the Id length, 1 to 4 bytes
-        int ldapMessageLength = 1 + 1 + Value.getNbBytes( message.getMessageId() );
-
-        // Get the protocolOp length
-        ldapMessageLength += computeProtocolOpLength( message );
-        message.setMessageLength( ldapMessageLength );
-
-        Map<String, Control> controls = message.getControls();
-
-        // Do the same thing for Controls, if any.
-        if ( controls.size() > 0 )
-        {
-            // Controls :
-            // 0xA0 L3
-            //   |
-            //   +--> 0x30 L4
-            //   +--> 0x30 L5
-            //   +--> ...
-            //   +--> 0x30 Li
-            //   +--> ...
-            //   +--> 0x30 Ln
-            //
-            // L3 = Length(0x30) + Length(L5) + L5
-            // + Length(0x30) + Length(L6) + L6
-            // + ...
-            // + Length(0x30) + Length(Li) + Li
-            // + ...
-            // + Length(0x30) + Length(Ln) + Ln
-            //
-            // LdapMessageLength = LdapMessageLength + Length(0x90)
-            // + Length(L3) + L3
-            int controlsSequenceLength = 0;
-
-            // We may have more than one control. ControlsLength is L4.
-            for ( Control control : controls.values() )
-            {
-                controlsSequenceLength += ( ( CodecControl ) control ).computeLength();
-            }
-
-            // Computes the controls length
-            // 1 + Length.getNbBytes( controlsSequenceLength ) + controlsSequenceLength;
-            message.setControlsLength( controlsSequenceLength );
-
-            // Now, add the tag and the length of the controls length
-            ldapMessageLength += 1 + TLV.getNbBytes( controlsSequenceLength ) + controlsSequenceLength;
-        }
-
-        // finally, calculate the global message size :
-        // length(Tag) + Length(length) + length
-
-        return 1 + ldapMessageLength + TLV.getNbBytes( ldapMessageLength );
-    }
-
-
-    /**
-     * Compute the LdapResult length 
-     * 
-     * LdapResult : 
-     * 0x0A 01 resultCode (0..80)
-     *   0x04 L1 matchedDN (L1 = Length(matchedDN)) 
-     *   0x04 L2 errorMessage (L2 = Length(errorMessage)) 
-     *   [0x83 L3] referrals 
-     *     | 
-     *     +--> 0x04 L4 referral 
-     *     +--> 0x04 L5 referral 
-     *     +--> ... 
-     *     +--> 0x04 Li referral 
-     *     +--> ... 
-     *     +--> 0x04 Ln referral 
-     *     
-     * L1 = Length(matchedDN) 
-     * L2 = Length(errorMessage) 
-     * L3 = n*Length(0x04) + sum(Length(L4) .. Length(Ln)) + sum(L4..Ln) 
-     * L4..n = Length(0x04) + Length(Li) + Li 
-     * Length(LdapResult) = Length(0x0x0A) +
-     *      Length(0x01) + 1 + Length(0x04) + Length(L1) + L1 + Length(0x04) +
-     *      Length(L2) + L2 + Length(0x83) + Length(L3) + L3
-     */
-    private int computeLdapResultLength( InternalLdapResult ldapResult )
-    {
-        int ldapResultLength = 0;
-
-        // The result code : always 3 bytes
-        ldapResultLength = 1 + 1 + 1;
-
-        // The matchedDN length
-        if ( ldapResult.getMatchedDn() == null )
-        {
-            ldapResultLength += 1 + 1;
-        }
-        else
-        {
-            byte[] matchedDNBytes = StringTools.getBytesUtf8( StringTools
-                .trimLeft( ldapResult.getMatchedDn().getName() ) );
-            ldapResultLength += 1 + TLV.getNbBytes( matchedDNBytes.length ) + matchedDNBytes.length;
-        }
-
-        // The errorMessage length
-        byte[] errorMessageBytes = StringTools.getBytesUtf8( ldapResult.getErrorMessage()
);
-        ldapResultLength += 1 + TLV.getNbBytes( errorMessageBytes.length ) + errorMessageBytes.length;
-        ldapResult.setErrorMessageBytes( errorMessageBytes );
-
-        InternalReferral referral = ldapResult.getReferral();
-
-        if ( referral != null )
-        {
-            Collection<String> ldapUrls = referral.getLdapUrls();
-
-            if ( ( ldapUrls != null ) && ( ldapUrls.size() != 0 ) )
-            {
-                int referralsLength = 0;
-
-                // Each referral
-                for ( String ldapUrl : ldapUrls )
-                {
-                    byte[] ldapUrlBytes = StringTools.getBytesUtf8( ldapUrl );
-                    referralsLength += 1 + TLV.getNbBytes( ldapUrlBytes.length ) + ldapUrlBytes.length;
-                    referral.addLdapUrlBytes( ldapUrlBytes );
-                }
-
-                // The referrals
-                ldapResultLength += 1 + TLV.getNbBytes( referralsLength ) + referralsLength;
-            }
-        }
-
-        return ldapResultLength;
-    }
-
-
-    /**
-     * Encode the LdapResult message to a PDU.
-     * 
-     * @param buffer The buffer where to put the PDU
-     * @return The PDU.
-     */
-    private ByteBuffer encodeLdapResult( ByteBuffer buffer, InternalLdapResult ldapResult
) throws EncoderException
-    {
-        if ( buffer == null )
-        {
-            throw new EncoderException( I18n.err( I18n.ERR_04023 ) );
-        }
-
-        try
-        {
-            // The result code
-            buffer.put( UniversalTag.ENUMERATED_TAG );
-            buffer.put( ( byte ) 1 );
-            buffer.put( ( byte ) ldapResult.getResultCode().getValue() );
-        }
-        catch ( BufferOverflowException boe )
-        {
-            throw new EncoderException( I18n.err( I18n.ERR_04005 ) );
-        }
-
-        // The matchedDN
-        Value.encode( buffer, ldapResult.getMatchedDnBytes() );
-
-        // The error message
-        Value.encode( buffer, ldapResult.getErrorMessageBytes() );
-
-        // The referrals, if any
-        InternalReferral referral = ldapResult.getReferral();
-
-        if ( referral != null )
-        {
-            Collection<String> ldapUrls = referral.getLdapUrls();
-
-            if ( ( ldapUrls != null ) && ( ldapUrls.size() != 0 ) )
-            {
-                // Encode the referrals sequence
-                // The referrals length MUST have been computed before !
-                buffer.put( ( byte ) LdapConstants.LDAP_RESULT_REFERRAL_SEQUENCE_TAG );
-                //buffer.put( TLV.getBytes( referralsLength ) );
-
-                // Each referral
-                for ( String ldapUrl : ldapUrls )
-                {
-                    // Encode the current referral
-                    //Value.encode( buffer, referral.getBytesReference() );
-                }
-            }
-        }
-
-        return buffer;
-    }
-
-    /**
-     * Compute the BindResponse length 
-     * 
-     * BindResponse : 
-     * <pre>
-     * 0x61 L1 
-     *   | 
-     *   +--> LdapResult
-     *   +--> [serverSaslCreds] 
-     *   
-     * L1 = Length(LdapResult) [ + Length(serverSaslCreds) ] 
-     * Length(BindResponse) = Length(0x61) + Length(L1) + L1
-     * </pre>
-     *
-    private int computeBindResponseLength( BindResponseImpl bindResponse )
-    {
-        int ldapResultLength = computeLdapResultLength( bindResponse.getLdapResult() );
-
-        int bindResponseLength = ldapResultLength;
-
-        byte[] serverSaslCreds = bindResponse.getServerSaslCreds();
-
-        if ( serverSaslCreds != null )
-        {
-            bindResponseLength += 1 + TLV.getNbBytes( serverSaslCreds.length ) + serverSaslCreds.length;
-        }
-
-        bindResponse.setBindResponseLength( bindResponseLength );
-
-        return 1 + TLV.getNbBytes( bindResponseLength ) + bindResponseLength;
-    }
-
-
-    /**
-     * Encode the BindResponse message to a PDU.
-     * 
-     * BindResponse :
-     * <pre>
-     * LdapResult.encode 
-     * [0x87 LL serverSaslCreds]
-     * </pre>
-     * 
-     * @param buffer The buffer where to put the PDU
-     * @return The PDU.
-     *
-    private void encodeBindResponse( ByteBuffer bb, BindResponseImpl bindResponse ) throws
EncoderException
-    {
-        try
-        {
-            // The BindResponse Tag
-            bb.put( LdapConstants.BIND_RESPONSE_TAG );
-            bb.put( TLV.getBytes( bindResponse.getBindResponseLength() ) );
-
-            // The LdapResult
-            encodeLdapResult( bb, bindResponse.getLdapResult() );
-
-            // The serverSaslCredential, if any
-            byte[] serverSaslCreds = bindResponse.getServerSaslCreds();
-
-            if ( serverSaslCreds != null )
-            {
-                bb.put( ( byte ) LdapConstants.SERVER_SASL_CREDENTIAL_TAG );
-
-                bb.put( TLV.getBytes( serverSaslCreds.length ) );
-
-                if ( serverSaslCreds.length != 0 )
-                {
-                    bb.put( serverSaslCreds );
-                }
-            }
-        }
-        catch ( BufferOverflowException boe )
-        {
-            throw new EncoderException( I18n.err( I18n.ERR_04005 ) );
-        }
-    }
-
-
-    /**
-     * Compute the BindRequest length 
-     * 
-     * BindRequest : 
-     * <pre>
-     * 0x60 L1 
-     *   | 
-     *   +--> 0x02 0x01 (1..127) version 
-     *   +--> 0x04 L2 name 
-     *   +--> authentication 
-     *   
-     * L2 = Length(name)
-     * L3/4 = Length(authentication) 
-     * Length(BindRequest) = Length(0x60) + Length(L1) + L1 + Length(0x02) + 1 + 1 + 
-     *      Length(0x04) + Length(L2) + L2 + Length(authentication)
-     * </pre>
-     *
-    private int computeProtocolOpLength( InternalMessage message )
-    {
-        switch ( message.getType() )
-        {
-            case BIND_RESPONSE:
-                return computeBindResponseLength( ( BindResponseImpl ) message );
-
-            default:
-                return 0;
-        }
-    }
-    */
-
-    /*
-    private void encodeProtocolOp( ByteBuffer bb, InternalMessage message ) throws EncoderException
-    {
-        switch ( message.getType() )
-        {
-            case BIND_RESPONSE:
-                encodeBindResponse( bb, ( BindResponseImpl ) message );
-        }
-    }
-    */
 }

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/IntermediateResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/IntermediateResponseImpl.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/IntermediateResponseImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/IntermediateResponseImpl.java
Sat Aug 14 13:45:20 2010
@@ -24,6 +24,7 @@ import java.util.Arrays;
 
 import org.apache.directory.shared.ldap.message.internal.InternalAbstractResultResponse;
 import org.apache.directory.shared.ldap.message.internal.InternalIntermediateResponse;
+import org.apache.directory.shared.ldap.util.StringTools;
 
 
 /**
@@ -244,4 +245,33 @@ public class IntermediateResponseImpl ex
     {
         return intermediateResponseLength;
     }
+
+
+    /**
+     * Get a String representation of an IntermediateResponse
+     * 
+     * @return An IntermediateResponse String
+     */
+    public String toString()
+    {
+        StringBuilder sb = new StringBuilder();
+
+        sb.append( "    Intermediate Response\n" );
+
+        if ( responseName != null )
+        {
+            sb.append( "        Response name :'" ).append( responseName ).append( "'\n"
);
+        }
+
+        if ( responseValue != null )
+        {
+            sb.append( "        ResponseValue :'" );
+            sb.append( StringTools.dumpBytes( responseValue ) );
+            sb.append( "'\n" );
+        }
+
+        sb.append( super.toString() );
+
+        return sb.toString();
+    }
 }

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapProtocolEncoder.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapProtocolEncoder.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapProtocolEncoder.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapProtocolEncoder.java
Sat Aug 14 13:45:20 2010
@@ -277,8 +277,9 @@ public class LdapProtocolEncoder extends
      *      Length(0x01) + 1 + Length(0x04) + Length(L1) + L1 + Length(0x04) +
      *      Length(L2) + L2 + Length(0x83) + Length(L3) + L3
      */
-    private int computeLdapResultLength( InternalLdapResult ldapResult )
+    private int computeLdapResultLength( InternalLdapResult internalLdapResult )
     {
+        LdapResultImpl ldapResult = ( LdapResultImpl ) internalLdapResult;
         int ldapResultLength = 0;
 
         // The result code : always 3 bytes
@@ -320,8 +321,11 @@ public class LdapProtocolEncoder extends
      * @param buffer The buffer where to put the PDU
      * @return The PDU.
      */
-    private ByteBuffer encodeLdapResult( ByteBuffer buffer, InternalLdapResult ldapResult
) throws EncoderException
+    private ByteBuffer encodeLdapResult( ByteBuffer buffer, InternalLdapResult internalLdapResult
)
+        throws EncoderException
     {
+        LdapResultImpl ldapResult = ( LdapResultImpl ) internalLdapResult;
+
         if ( buffer == null )
         {
             throw new EncoderException( I18n.err( I18n.ERR_04023 ) );
@@ -1246,7 +1250,7 @@ public class LdapProtocolEncoder extends
      * @param buffer The buffer where to put the PDU
      * @return The PDU.
      */
-    protected void encodeSearchResultReference( ByteBuffer buffer, InternalSearchResultReference
searchResultReference )
+    protected void encodeSearchResultReference( ByteBuffer buffer, SearchResultReferenceImpl
searchResultReference )
         throws EncoderException
     {
         try

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapResultImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapResultImpl.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapResultImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/LdapResultImpl.java
Sat Aug 14 13:45:20 2010
@@ -70,9 +70,9 @@ public class LdapResultImpl implements I
 
 
     /**
-     * {@inheritDoc}
+     * @return The encoded Error message
      */
-    public byte[] getErrorMessageBytes()
+    /*No qualifier*/byte[] getErrorMessageBytes()
     {
         return errorMessageBytes;
     }
@@ -92,9 +92,10 @@ public class LdapResultImpl implements I
 
 
     /**
-     * {@inheritDoc}
+     * Set the encoded message's bytes
+     * @param errorMessageBytes The encoded bytes
      */
-    public void setErrorMessageBytes( byte[] errorMessageBytes )
+    /*No qualifier*/void setErrorMessageBytes( byte[] errorMessageBytes )
     {
         this.errorMessageBytes = errorMessageBytes;
     }
@@ -120,9 +121,9 @@ public class LdapResultImpl implements I
 
 
     /**
-     * {@inheritDoc}
+     * @return the encoded MatchedDN
      */
-    public byte[] getMatchedDnBytes()
+    /*No qualifier*/byte[] getMatchedDnBytes()
     {
         return matchedDNBytes;
     }
@@ -141,9 +142,11 @@ public class LdapResultImpl implements I
 
 
     /**
-     * {@inheritDoc}
+     * Sets the encoded value for MatchedDn
+     * 
+     * @param matchedDNBytes The encoded MatchedDN
      */
-    public void setMatchedDnBytes( byte[] matchedDNBytes )
+    /*No qualifier*/void setMatchedDnBytes( byte[] matchedDNBytes )
     {
         this.matchedDNBytes = matchedDNBytes;
     }
@@ -323,8 +326,7 @@ public class LdapResultImpl implements I
      */
     public String toString()
     {
-
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
 
         sb.append( "        Ldap Result\n" );
         sb.append( "            Result code : (" ).append( resultCode ).append( ')' );

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponseImpl.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponseImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyDnResponseImpl.java
Sat Aug 14 13:45:20 2010
@@ -53,20 +53,37 @@ public class ModifyDnResponseImpl extend
 
 
     /**
-     * {@inheritDoc}
+     * @return The encoded ModifyDnResponse's length
      */
-    public void setModifyDnResponseLength( int modifyDnResponseLength )
+    /* No Qualifier*/void setModifyDnResponseLength( int modifyDnResponseLength )
     {
         this.modifyDnResponseLength = modifyDnResponseLength;
     }
 
 
     /**
-     * {@inheritDoc}
+     * Stores the encoded length for the ModifyDnResponse
+     * @param modifyDnResponseLength The encoded length
      */
-    public int getModifyDnResponseLength()
+    /* No Qualifier*/int getModifyDnResponseLength()
     {
         return modifyDnResponseLength;
     }
 
+
+    /**
+     * Get a String representation of a ModifyDNResponse
+     * 
+     * @return A ModifyDNResponse String
+     */
+    public String toString()
+    {
+
+        StringBuilder sb = new StringBuilder();
+
+        sb.append( "    Modify DN Response\n" );
+        sb.append( super.toString() );
+
+        return sb.toString();
+    }
 }

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/ModifyResponseImpl.java
Sat Aug 14 13:45:20 2010
@@ -52,19 +52,37 @@ public class ModifyResponseImpl extends 
 
 
     /**
-     * {@inheritDoc}
+     * Stores the encoded length for the ModifyResponse
+     * @param modifyResponseLength The encoded length
      */
-    public void setModifyResponseLength( int modifyResponseLength )
+    /*No qualifier*/void setModifyResponseLength( int modifyResponseLength )
     {
         this.modifyResponseLength = modifyResponseLength;
     }
 
 
     /**
-     * {@inheritDoc}
+     * @return The encoded ModifyResponse's length
      */
-    public int getModifyResponseLength()
+    /*No qualifier*/int getModifyResponseLength()
     {
         return modifyResponseLength;
     }
+
+
+    /**
+     * Get a String representation of a ModifyResponse
+     * 
+     * @return A ModifyResponse String
+     */
+    public String toString()
+    {
+
+        StringBuilder sb = new StringBuilder();
+
+        sb.append( "    Modify Response\n" );
+        sb.append( super.toString() );
+
+        return sb.toString();
+    }
 }

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultDoneImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultDoneImpl.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultDoneImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultDoneImpl.java
Sat Aug 14 13:45:20 2010
@@ -102,18 +102,19 @@ public class SearchResultDoneImpl extend
 
 
     /**
-     * {@inheritDoc}
+     * Stores the encoded length for the SearchResultDone
+     * @param searchResultDoneLength The encoded length
      */
-    public void setSearchResultDoneLength( int searchResultDoneLength )
+    /*No qualifier*/void setSearchResultDoneLength( int searchResultDoneLength )
     {
         this.searchResultDoneLength = searchResultDoneLength;
     }
 
 
     /**
-     * {@inheritDoc}
+     * @return The encoded SearchResultDone's length
      */
-    public int getSearchResultDoneLength()
+    /*No qualifier*/int getSearchResultDoneLength()
     {
         return searchResultDoneLength;
     }
@@ -126,8 +127,7 @@ public class SearchResultDoneImpl extend
      */
     public String toString()
     {
-
-        StringBuffer sb = new StringBuffer();
+        StringBuilder sb = new StringBuilder();
 
         sb.append( "    Search Result Done\n" );
         sb.append( super.toString() );

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultEntryImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultEntryImpl.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultEntryImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultEntryImpl.java
Sat Aug 14 13:45:20 2010
@@ -27,6 +27,7 @@ import org.apache.directory.shared.ldap.
 import org.apache.directory.shared.ldap.entry.Entry;
 import org.apache.directory.shared.ldap.entry.EntryAttribute;
 import org.apache.directory.shared.ldap.exception.LdapException;
+import org.apache.directory.shared.ldap.message.control.Control;
 import org.apache.directory.shared.ldap.message.internal.InternalAbstractResponse;
 import org.apache.directory.shared.ldap.message.internal.InternalSearchResultEntry;
 import org.apache.directory.shared.ldap.name.DN;
@@ -156,18 +157,22 @@ public class SearchResultEntryImpl exten
 
 
     /**
-     * {@inheritDoc}
+     * Gets the distinguished name bytes of the entry object returned.
+     * 
+     * @return the Dn bytes of the entry returned.
      */
-    public byte[] getObjectNameBytes()
+    /*No qualifier*/byte[] getObjectNameBytes()
     {
         return objectNameBytes;
     }
 
 
     /**
-     * {@inheritDoc}
+     * Sets the distinguished name bytes of the entry object returned.
+     * 
+     * @param objectNameBytes the Dn bytes of the entry returned.
      */
-    public void setObjectNameBytes( byte[] objectNameBytes )
+    /*No qualifier*/void setObjectNameBytes( byte[] objectNameBytes )
     {
         this.objectNameBytes = objectNameBytes;
     }
@@ -236,71 +241,107 @@ public class SearchResultEntryImpl exten
 
 
     /**
-     * Return a string representation of a SearchResultEntry request
+     * @return The encoded SearchResultEntry's length
      */
-    public String toString()
-    {
-        StringBuilder sb = new StringBuilder();
-
-        sb.append( "    Search Result Entry\n" );
-
-        if ( entry != null )
-        {
-            sb.append( entry );
-        }
-        else
-        {
-            sb.append( "            No entry\n" );
-        }
-
-        return sb.toString();
-    }
-
-
-    public int getSearchResultEntryLength()
+    /*No qualifier*/int getSearchResultEntryLength()
     {
         return searchResultEntryLength;
     }
 
 
-    public void setSearchResultEntryLength( int searchResultEntryLength )
+    /**
+     * Stores the encoded length for the SearchResultEntry
+     * @param searchResultEntryLength The encoded length
+     */
+    /*No qualifier*/void setSearchResultEntryLength( int searchResultEntryLength )
     {
         this.searchResultEntryLength = searchResultEntryLength;
     }
 
 
-    public int getAttributesLength()
+    /**
+     * @return The encoded PartialAttributeList's length
+     */
+    /*No qualifier*/int getAttributesLength()
     {
         return attributesLength;
     }
 
 
-    public void setAttributesLength( int attributesLength )
+    /**
+     * Stores the encoded length for the Attributes
+     * @param attributeLength The list of encoded lengths
+     */
+    /*No qualifier*/void setAttributesLength( int attributesLength )
     {
         this.attributesLength = attributesLength;
     }
 
 
-    public List<Integer> getAttributeLength()
+    /**
+     * @return The encoded PartialAttributeList's length
+     */
+    /*No qualifier*/List<Integer> getAttributeLength()
     {
         return attributeLength;
     }
 
 
-    public void setAttributeLength( List<Integer> attributeLength )
+    /**
+     * @return The list of encoded Attributes' length
+     */
+    /*No qualifier*/void setAttributeLength( List<Integer> attributeLength )
     {
         this.attributeLength = attributeLength;
     }
 
 
-    public List<Integer> getValsLength()
+    /**
+     * @return The list of encoded values' length
+     */
+    /*No qualifier*/List<Integer> getValsLength()
     {
         return valsLength;
     }
 
 
-    public void setValsLength( List<Integer> valsLength )
+    /**
+     * Stores the list of encoded length for the values 
+     * @param valsLength The list of encoded lengths
+     */
+    /*No qualifier*/void setValsLength( List<Integer> valsLength )
     {
         this.valsLength = valsLength;
     }
+
+
+    /**
+     * Return a string representation of a SearchResultEntry request
+     */
+    public String toString()
+    {
+        StringBuilder sb = new StringBuilder();
+
+        sb.append( "    Search Result Entry\n" );
+
+        if ( entry != null )
+        {
+            sb.append( entry );
+        }
+        else
+        {
+            sb.append( "            No entry\n" );
+        }
+
+        if ( ( controls != null ) && ( controls.size() != 0 ) )
+        {
+            for ( Control control : controls.values() )
+            {
+                sb.append( control );
+            }
+        }
+
+        return sb.toString();
+    }
+
 }

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultReferenceImpl.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultReferenceImpl.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultReferenceImpl.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/SearchResultReferenceImpl.java
Sat Aug 14 13:45:20 2010
@@ -20,6 +20,7 @@
 package org.apache.directory.shared.ldap.message;
 
 
+import org.apache.directory.shared.ldap.message.control.Control;
 import org.apache.directory.shared.ldap.message.internal.InternalAbstractResponse;
 import org.apache.directory.shared.ldap.message.internal.InternalReferral;
 import org.apache.directory.shared.ldap.message.internal.InternalSearchResultReference;
@@ -88,18 +89,19 @@ public class SearchResultReferenceImpl e
 
 
     /**
-     * {@inheritDoc}
+     * @return The encoded Referral's length
      */
-    public int getReferralLength()
+    /* No qualifier */int getReferralLength()
     {
         return referralLength;
     }
 
 
     /**
-     * {@inheritDoc}
+     * Stores the encoded length for the Referrals
+     * @param searchReferralLength The encoded length
      */
-    public void setReferralLength( int referralLength )
+    /* No qualifier */void setReferralLength( int referralLength )
     {
         this.referralLength = referralLength;
     }
@@ -163,19 +165,58 @@ public class SearchResultReferenceImpl e
 
 
     /**
-     * {@inheritDoc}
+     * @return The encoded SearchResultReference's length
      */
-    public int getSearchResultReferenceLength()
+    /* No qualifier */int getSearchResultReferenceLength()
     {
         return searchResultReferenceLength;
     }
 
 
     /**
-     * {@inheritDoc}
+     * Stores the encoded length for the SearchResultReference's
+     * @param searchResultReferenceLength The encoded length
      */
-    public void setSearchResultReferenceLength( int searchResultReferenceLength )
+    /* No qualifier */void setSearchResultReferenceLength( int searchResultReferenceLength
)
     {
         this.searchResultReferenceLength = searchResultReferenceLength;
     }
+
+
+    /**
+     * Returns the Search Result Reference string
+     * 
+     * @return The Search Result Reference string
+     */
+    public String toString()
+    {
+
+        StringBuilder sb = new StringBuilder();
+
+        sb.append( "    Search Result Reference\n" );
+
+        if ( ( referral == null ) || ( referral.getLdapUrls() == null ) || ( referral.getLdapUrls().size()
== 0 ) )
+        {
+            sb.append( "        No Reference\n" );
+        }
+        else
+        {
+            sb.append( "        References\n" );
+
+            for ( String url : referral.getLdapUrls() )
+            {
+                sb.append( "            '" ).append( url ).append( "'\n" );
+            }
+        }
+
+        if ( ( controls != null ) && ( controls.size() != 0 ) )
+        {
+            for ( Control control : controls.values() )
+            {
+                sb.append( control );
+            }
+        }
+
+        return sb.toString();
+    }
 }

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalLdapResult.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalLdapResult.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalLdapResult.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalLdapResult.java
Sat Aug 14 13:45:20 2010
@@ -80,12 +80,6 @@ public interface InternalLdapResult
 
 
     /**
-     * @return the encoded MatchedDN
-     */
-    byte[] getMatchedDnBytes();
-
-
-    /**
      * Sets the lowest entry in the directory that was matched.
      * 
      * @see #getMatchedDn()
@@ -95,14 +89,6 @@ public interface InternalLdapResult
 
 
     /**
-     * Sets the encoded value for MatchedDn
-     * 
-     * @param matchedDNBytes The encoded MatchedDN
-     */
-    void setMatchedDnBytes( byte[] matchedDNBytes );
-
-
-    /**
      * Gets the descriptive error message associated with the error code. May be
      * null for SUCCESS, COMPARETRUE, COMPAREFALSE and REFERRAL operations.
      * 
@@ -112,12 +98,6 @@ public interface InternalLdapResult
 
 
     /**
-     * @return The encoded Error message
-     */
-    byte[] getErrorMessageBytes();
-
-
-    /**
      * Sets the descriptive error message associated with the error code. May be
      * null for SUCCESS, COMPARETRUE, and COMPAREFALSE operations.
      * 
@@ -127,13 +107,6 @@ public interface InternalLdapResult
 
 
     /**
-     * Set the encoded message's bytes
-     * @param errorMessageBytes The encoded bytes
-     */
-    void setErrorMessageBytes( byte[] errorMessageBytes );
-
-
-    /**
      * Gets whether or not this result represents a Referral. For referrals the
      * error code is set to REFERRAL and the referral property is not null.
      * 

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalModifyDnResponse.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalModifyDnResponse.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalModifyDnResponse.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalModifyDnResponse.java
Sat Aug 14 13:45:20 2010
@@ -33,17 +33,4 @@ public interface InternalModifyDnRespons
 {
     /** Modify DN response message type enumeration value */
     MessageTypeEnum TYPE = MessageTypeEnum.MODIFYDN_RESPONSE;
-
-
-    /**
-     * Stores the encoded length for the ModifyDnResponse
-     * @param modifyDnResponseLength The encoded length
-     */
-    void setModifyDnResponseLength( int modifyDnResponseLength );
-
-
-    /**
-     * @return The encoded ModifyDnResponse's length
-     */
-    int getModifyDnResponseLength();
 }

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalModifyResponse.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalModifyResponse.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalModifyResponse.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalModifyResponse.java
Sat Aug 14 13:45:20 2010
@@ -32,17 +32,4 @@ public interface InternalModifyResponse 
 {
     /** Modify response message type enumeration value */
     MessageTypeEnum TYPE = MessageTypeEnum.MODIFY_RESPONSE;
-
-
-    /**
-     * Stores the encoded length for the ModifyResponse
-     * @param modifyResponseLength The encoded length
-     */
-    void setModifyResponseLength( int modifyResponseLength );
-
-
-    /**
-     * @return The encoded ModifyResponse's length
-     */
-    int getModifyResponseLength();
 }

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultDone.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultDone.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultDone.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultDone.java
Sat Aug 14 13:45:20 2010
@@ -34,17 +34,4 @@ public interface InternalSearchResultDon
 {
     /** Search done response message type enumeration value */
     MessageTypeEnum TYPE = MessageTypeEnum.SEARCH_RESULT_DONE;
-
-
-    /**
-     * Stores the encoded length for the SearchResultDone
-     * @param searchResultDoneLength The encoded length
-     */
-    void setSearchResultDoneLength( int searchResultDoneLength );
-
-
-    /**
-     * @return The encoded SearchResultDone's length
-     */
-    int getSearchResultDoneLength();
 }

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultEntry.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultEntry.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultEntry.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultEntry.java
Sat Aug 14 13:45:20 2010
@@ -21,8 +21,6 @@
 package org.apache.directory.shared.ldap.message.internal;
 
 
-import java.util.List;
-
 import org.apache.directory.shared.ldap.codec.MessageTypeEnum;
 import org.apache.directory.shared.ldap.entry.Entry;
 import org.apache.directory.shared.ldap.entry.EntryAttribute;
@@ -59,22 +57,6 @@ public interface InternalSearchResultEnt
 
 
     /**
-     * Gets the distinguished name bytes of the entry object returned.
-     * 
-     * @return the Dn bytes of the entry returned.
-     */
-    byte[] getObjectNameBytes();
-
-
-    /**
-     * Sets the distinguished name bytes of the entry object returned.
-     * 
-     * @param objectNameBytes the Dn bytes of the entry returned.
-     */
-    void setObjectNameBytes( byte[] objectNameBytes );
-
-
-    /**
      * Gets the entry.
      * 
      * @return the entry
@@ -110,56 +92,4 @@ public interface InternalSearchResultEnt
      * @param value The added value
      */
     void addAttributeValue( Object value );
-
-
-    /**
-     * @return The encoded SearchResultEntry's length
-     */
-    int getSearchResultEntryLength();
-
-
-    /**
-     * Stores the encoded length for the SearchResultEntry
-     * @param searchResultEntryLength The encoded length
-     */
-    void setSearchResultEntryLength( int searchResultEntryLength );
-
-
-    /**
-     * @return The encoded PartialAttributeList's length
-     */
-    int getAttributesLength();
-
-
-    /**
-     * Stores the encoded length for the PartialAttributeList
-     * @param attributesLength The encoded length
-     */
-    void setAttributesLength( int attributesLength );
-
-
-    /**
-     * @return The list of encoded Attributes' length
-     */
-    List<Integer> getAttributeLength();
-
-
-    /**
-     * Stores the encoded length for the Attributes
-     * @param attributeLength The list of encoded lengths
-     */
-    void setAttributeLength( List<Integer> attributeLength );
-
-
-    /**
-     * @return The list of encoded values' length
-     */
-    List<Integer> getValsLength();
-
-
-    /**
-     * Stores the list of encoded length for the values 
-     * @param valsLength The list of encoded lengths
-     */
-    void setValsLength( List<Integer> valsLength );
 }

Modified: directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultReference.java
URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultReference.java?rev=985489&r1=985488&r2=985489&view=diff
==============================================================================
--- directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultReference.java
(original)
+++ directory/shared/branches/shared-codec-merge/ldap/src/main/java/org/apache/directory/shared/ldap/message/internal/InternalSearchResultReference.java
Sat Aug 14 13:45:20 2010
@@ -50,17 +50,4 @@ public interface InternalSearchResultRef
      * @param referral the sequence of LdapUrls
      */
     void setReferral( InternalReferral referral );
-
-
-    /**
-     * @return The encoded SearchResultReference's length
-     */
-    int getSearchResultReferenceLength();
-
-
-    /**
-     * Stores the encoded length for the SearchResultReference's
-     * @param searchResultReferenceLength The encoded length
-     */
-    void setSearchResultReferenceLength( int searchResultReferenceLength );
 }



Mime
View raw message