/** * {@inheritDoc} */ @Override public CodecControl<SyncDoneValue> newCodecControl() { return new SyncDoneValueDecorator( codec ); }
/** * {@inheritDoc} */ @Override public CodecControl<SyncDoneValue> newCodecControl( SyncDoneValue control ) { return new SyncDoneValueDecorator( codec, control ); } }
/** * {@inheritDoc} */ @Override public CodecControl<SyncDoneValue> newCodecControl() { return new SyncDoneValueDecorator( codec ); }
/** * {@inheritDoc} */ @Override public CodecControl<SyncDoneValue> newCodecControl( SyncDoneValue control ) { return new SyncDoneValueDecorator( codec, control ); } }
/** * {@inheritDoc} */ @Override public CodecControl<SyncDoneValue> newCodecControl( SyncDoneValue control ) { return new SyncDoneValueDecorator( codec, control ); } }
/** * {@inheritDoc} */ @Override public CodecControl<SyncDoneValue> newCodecControl() { return new SyncDoneValueDecorator( codec ); }
/** * Creates a new SyncDoneValueControlContainer object. * * @param codec The LDAP Service to use */ public SyncDoneValueContainer( LdapApiService codec ) { super(); this.codec = codec; this.control = new SyncDoneValueDecorator( codec ); setGrammar( SyncDoneValueGrammar.getInstance() ); setTransition( SyncDoneValueStatesEnum.START_STATE ); }
/** * Creates a new SyncDoneValueControlContainer object. * * @param codec The LDAP Service to use */ public SyncDoneValueContainer( LdapApiService codec ) { super(); this.codec = codec; this.control = new SyncDoneValueDecorator( codec ); setGrammar( SyncDoneValueGrammar.getInstance() ); setTransition( SyncDoneValueStatesEnum.START_STATE ); }
/** * Creates a new SyncDoneValueControlContainer object. * * @param codec The LDAP Service to use */ public SyncDoneValueContainer( LdapApiService codec ) { super(); this.codec = codec; this.control = new SyncDoneValueDecorator( codec ); setGrammar( SyncDoneValueGrammar.getInstance() ); setTransition( SyncDoneValueStatesEnum.START_STATE ); }
/** * Send an error response to he consue r: it has to send a SYNC_REFRESH request first. */ private void sendESyncRefreshRequired( LdapSession session, SearchRequest req ) throws Exception { SearchResultDone searchDoneResp = ( SearchResultDone ) req.getResultResponse(); searchDoneResp.getLdapResult().setResultCode( ResultCodeEnum.E_SYNC_REFRESH_REQUIRED ); SyncDoneValue syncDone = new SyncDoneValueDecorator( ldapServer.getDirectoryService().getLdapCodecService() ); searchDoneResp.addControl( syncDone ); session.getIoSession().write( searchDoneResp ); }
SyncDoneValue syncDone = new SyncDoneValueDecorator( ldapServer.getDirectoryService().getLdapCodecService() ); syncDone.setCookie( cookie );
SyncDoneValue syncDone = new SyncDoneValueDecorator( ldapServer.getDirectoryService().getLdapCodecService() ); syncDone.setCookie( cookie );
control = new SyncDoneValueDecorator( getDirectoryService().getLdapCodecService() );