Package org.apache.directory.ldap.client.api.future

Examples of org.apache.directory.ldap.client.api.future.ResponseFuture


        ldapSession.write( request );

        // remove the associated listener if any
        int abandonId = abandonRequest.getAbandonedMessageId();

        ResponseFuture rf = getFromFutureMap( abandonId );

        // if the listener is not null, this is a async operation and no need to
        // send cancel signal on future, sending so will leave a dangling poision object in the corresponding queue
        // this is a sync operation send cancel signal to the corresponding ResponseFuture
        if ( rf != null )
        {
            LOG.debug( "sending cancel signal to future" );
            rf.cancel( true );
        }
        else
        {
            // this shouldn't happen
            LOG
View Full Code Here

TOP

Related Classes of org.apache.directory.ldap.client.api.future.ResponseFuture

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.