Package org.apache.directory.api.ldap.extras.controls

Examples of org.apache.directory.api.ldap.extras.controls.SyncRequestValueImpl


    private static final Asn1Decoder decoder = new Asn1Decoder();


    public SyncRequestValueDecorator( LdapApiService codec )
    {
        super( codec, new SyncRequestValueImpl() );
    }
View Full Code Here


public class SyncRequestValueControlTest extends AbstractCodecServiceTest
{
    @Test
    public void testEncodeSyncRequestValue() throws Exception
    {
        SyncRequestValue syncRequestValue = new SyncRequestValueImpl();
        syncRequestValue.setMode( SynchronizationModeEnum.REFRESH_ONLY );
       
        SyncRequestValueDecorator decorator = new SyncRequestValueDecorator( codec, syncRequestValue );
       
        ByteBuffer buffer = decorator.encode( ByteBuffer.allocate( decorator.computeLength() ) );
       
View Full Code Here

TOP

Related Classes of org.apache.directory.api.ldap.extras.controls.SyncRequestValueImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.