/** * {@inheritDoc} */ @Override public ExtendedFuture extendedAsync( ExtendedRequest extendedRequest ) throws LdapException { if ( extendedRequest == null ) { String msg = I18n.err( I18n.ERR_04154_CANNOT_PROCESS_NULL_EXT_REQ ); if ( LOG.isDebugEnabled() ) { LOG.debug( msg ); } throw new IllegalArgumentException( msg ); } // try to connect, if we aren't already connected. connect(); checkSession(); int newId = messageId.incrementAndGet(); extendedRequest.setMessageId( newId ); ExtendedFuture extendedFuture = new ExtendedFuture( this, newId ); addToFutureMap( newId, extendedFuture ); // Send the request to the server writeRequest( extendedRequest ); // Ok, done return the future return extendedFuture; }
writeRequest( modRequest );
writeRequest( deleteRequest );
/** * {@inheritDoc} */ @Override public ExtendedFuture extendedAsync( ExtendedRequest extendedRequest ) throws LdapException { if ( extendedRequest == null ) { String msg = I18n.err( I18n.ERR_04154_CANNOT_PROCESS_NULL_EXT_REQ ); if ( LOG.isDebugEnabled() ) { LOG.debug( msg ); } throw new IllegalArgumentException( msg ); } // try to connect, if we aren't already connected. connect(); checkSession(); int newId = messageId.incrementAndGet(); extendedRequest.setMessageId( newId ); ExtendedFuture extendedFuture = new ExtendedFuture( this, newId ); addToFutureMap( newId, extendedFuture ); // Send the request to the server writeRequest( extendedRequest ); // Ok, done return the future return extendedFuture; }
/** * {@inheritDoc} */ @Override public ExtendedFuture extendedAsync( ExtendedRequest extendedRequest ) throws LdapException { if ( extendedRequest == null ) { String msg = I18n.err( I18n.ERR_04154_CANNOT_PROCESS_NULL_EXT_REQ ); if ( LOG.isDebugEnabled() ) { LOG.debug( msg ); } throw new IllegalArgumentException( msg ); } // try to connect, if we aren't already connected. connect(); checkSession(); int newId = messageId.incrementAndGet(); extendedRequest.setMessageId( newId ); ExtendedFuture extendedFuture = new ExtendedFuture( this, newId ); addToFutureMap( newId, extendedFuture ); // Send the request to the server writeRequest( extendedRequest ); // Ok, done return the future return extendedFuture; }
writeRequest( addRequest );
writeRequest( deleteRequest );
writeRequest( deleteRequest );
writeRequest( compareRequest );
writeRequest( compareRequest );
writeRequest( compareRequest );
writeRequest( modDnRequest );
writeRequest( bindRequest );
writeRequest( modDnRequest );
writeRequest( bindRequest );
writeRequest( bindRequest );