directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r1065314 - /directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java
Date Sun, 30 Jan 2011 16:16:09 GMT
Author: akarasulu
Date: Sun Jan 30 16:16:09 2011
New Revision: 1065314

URL: http://svn.apache.org/viewvc?rev=1065314&view=rev
Log:
adding unimplemented method

Modified:
    directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java

Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java?rev=1065314&r1=1065313&r2=1065314&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java
(original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/LdapCoreSessionConnection.java
Sun Jan 30 16:16:09 2011
@@ -32,6 +32,8 @@ import org.apache.directory.server.core.
 import org.apache.directory.server.core.filtering.EntryFilteringCursor;
 import org.apache.directory.server.core.interceptor.context.BindOperationContext;
 import org.apache.directory.shared.asn1.util.OID;
+import org.apache.directory.shared.ldap.codec.ILdapCodecService;
+import org.apache.directory.shared.ldap.codec.DefaultLdapCodecService;
 import org.apache.directory.shared.ldap.model.constants.SchemaConstants;
 import org.apache.directory.shared.ldap.model.cursor.EmptyCursor;
 import org.apache.directory.shared.ldap.model.cursor.SearchCursor;
@@ -111,6 +113,8 @@ public class LdapCoreSessionConnection i
     /** The MessageId counter */
     private AtomicInteger messageId = new AtomicInteger( 0 );
 
+    private ILdapCodecService codec = new DefaultLdapCodecService();
+
 
     public LdapCoreSessionConnection()
     {
@@ -406,6 +410,15 @@ public class LdapCoreSessionConnection i
     /**
      * {@inheritDoc}
      */
+    public ILdapCodecService getCodecService()
+    {
+        return codec;
+    }
+
+
+    /**
+     * {@inheritDoc}
+     */
     public List<String> getSupportedControls() throws LdapException
     {
         return null;



Mime
View raw message