public void action( SyncRequestValueContainer container ) { BerValue value = container.getCurrentTLV().getValue(); byte[] cookie = value.getData(); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08000_COOKIE, Strings.dumpBytes( cookie ) ) ); } container.getSyncRequestValueControl().setCookie( cookie ); // We can have an END transition container.setGrammarEndAllowed( true ); } } );
public void action( SyncRequestValueContainer container ) { BerValue value = container.getCurrentTLV().getValue(); byte[] cookie = value.getData(); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08000_COOKIE, Strings.dumpBytes( cookie ) ) ); } container.getSyncRequestValueControl().setCookie( cookie ); // We can have an END transition container.setGrammarEndAllowed( true ); } } );
public void action( SyncRequestValueContainer container ) { BerValue value = container.getCurrentTLV().getValue(); byte[] cookie = value.getData(); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08000_COOKIE, Strings.dumpBytes( cookie ) ) ); } container.getSyncRequestValueControl().setCookie( cookie ); // We can have an END transition container.setGrammarEndAllowed( true ); } } );
public void action( SyncRequestValueContainer container ) throws DecoderException { BerValue value = container.getCurrentTLV().getValue(); try { boolean reloadHint = BooleanDecoder.parse( value ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08104_RELOAD_HINT, reloadHint ) ); } container.getSyncRequestValueControl().setReloadHint( reloadHint ); // We can have an END transition container.setGrammarEndAllowed( true ); } catch ( BooleanDecoderException bde ) { String msg = I18n.err( I18n.ERR_08101_RELOAD_HINT_DECODING_FAILED ); LOG.error( msg, bde ); throw new DecoderException( msg, bde ); } } } );
public void action( SyncRequestValueContainer container ) throws DecoderException { BerValue value = container.getCurrentTLV().getValue(); try { boolean reloadHint = BooleanDecoder.parse( value ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08104_RELOAD_HINT, reloadHint ) ); } container.getSyncRequestValueControl().setReloadHint( reloadHint ); // We can have an END transition container.setGrammarEndAllowed( true ); } catch ( BooleanDecoderException bde ) { String msg = I18n.err( I18n.ERR_08101_RELOAD_HINT_DECODING_FAILED ); LOG.error( msg, bde ); throw new DecoderException( msg, bde ); } } } );
public void action( SyncRequestValueContainer container ) throws DecoderException { BerValue value = container.getCurrentTLV().getValue(); try { boolean reloadHint = BooleanDecoder.parse( value ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08104_RELOAD_HINT, reloadHint ) ); } container.getSyncRequestValueControl().setReloadHint( reloadHint ); // We can have an END transition container.setGrammarEndAllowed( true ); } catch ( BooleanDecoderException bde ) { String msg = I18n.err( I18n.ERR_08101_RELOAD_HINT_DECODING_FAILED ); LOG.error( msg, bde ); throw new DecoderException( msg, bde ); } } } );
public void action( SyncRequestValueContainer container ) throws DecoderException { BerValue value = container.getCurrentTLV().getValue(); try { boolean reloadHint = BooleanDecoder.parse( value ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08104_RELOAD_HINT, reloadHint ) ); } container.getSyncRequestValueControl().setReloadHint( reloadHint ); // We can have an END transition container.setGrammarEndAllowed( true ); } catch ( BooleanDecoderException bde ) { String msg = I18n.err( I18n.ERR_08101_RELOAD_HINT_DECODING_FAILED ); LOG.error( msg, bde ); throw new DecoderException( msg, bde ); } } } );
public void action( SyncRequestValueContainer container ) throws DecoderException { BerValue value = container.getCurrentTLV().getValue(); try { boolean reloadHint = BooleanDecoder.parse( value ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08104_RELOAD_HINT, reloadHint ) ); } container.getSyncRequestValueControl().setReloadHint( reloadHint ); // We can have an END transition container.setGrammarEndAllowed( true ); } catch ( BooleanDecoderException bde ) { String msg = I18n.err( I18n.ERR_08101_RELOAD_HINT_DECODING_FAILED ); LOG.error( msg, bde ); throw new DecoderException( msg, bde ); } } } );
public void action( SyncRequestValueContainer container ) throws DecoderException { BerValue value = container.getCurrentTLV().getValue(); try { boolean reloadHint = BooleanDecoder.parse( value ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08104_RELOAD_HINT, reloadHint ) ); } container.getSyncRequestValueControl().setReloadHint( reloadHint ); // We can have an END transition container.setGrammarEndAllowed( true ); } catch ( BooleanDecoderException bde ) { String msg = I18n.err( I18n.ERR_08101_RELOAD_HINT_DECODING_FAILED ); LOG.error( msg, bde ); throw new DecoderException( msg, bde ); } } } );
public void action( SyncRequestValueContainer container ) throws DecoderException { BerValue value = container.getCurrentTLV().getValue(); try { // Check that the value is into the allowed interval int mode = IntegerDecoder.parse( value, SynchronizationModeEnum.UNUSED.getValue(), SynchronizationModeEnum.REFRESH_AND_PERSIST.getValue() ); SynchronizationModeEnum modeEnum = SynchronizationModeEnum.getSyncMode( mode ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08100_MODE, modeEnum ) ); } container.getSyncRequestValueControl().setMode( modeEnum ); // We can have an END transition container.setGrammarEndAllowed( true ); } catch ( IntegerDecoderException ide ) { String msg = I18n.err( I18n.ERR_08100_SYNC_REQUEST_VALUE_MODE_DECODING_FAILED ); LOG.error( msg, ide ); throw new DecoderException( msg, ide ); } } } );
public void action( SyncRequestValueContainer container ) throws DecoderException { BerValue value = container.getCurrentTLV().getValue(); try { // Check that the value is into the allowed interval int mode = IntegerDecoder.parse( value, SynchronizationModeEnum.UNUSED.getValue(), SynchronizationModeEnum.REFRESH_AND_PERSIST.getValue() ); SynchronizationModeEnum modeEnum = SynchronizationModeEnum.getSyncMode( mode ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08100_MODE, modeEnum ) ); } container.getSyncRequestValueControl().setMode( modeEnum ); // We can have an END transition container.setGrammarEndAllowed( true ); } catch ( IntegerDecoderException ide ) { String msg = I18n.err( I18n.ERR_08100_SYNC_REQUEST_VALUE_MODE_DECODING_FAILED ); LOG.error( msg, ide ); throw new DecoderException( msg, ide ); } } } );
public void action( SyncRequestValueContainer container ) throws DecoderException { BerValue value = container.getCurrentTLV().getValue(); try { // Check that the value is into the allowed interval int mode = IntegerDecoder.parse( value, SynchronizationModeEnum.UNUSED.getValue(), SynchronizationModeEnum.REFRESH_AND_PERSIST.getValue() ); SynchronizationModeEnum modeEnum = SynchronizationModeEnum.getSyncMode( mode ); if ( LOG.isDebugEnabled() ) { LOG.debug( I18n.msg( I18n.MSG_08100_MODE, modeEnum ) ); } container.getSyncRequestValueControl().setMode( modeEnum ); // We can have an END transition container.setGrammarEndAllowed( true ); } catch ( IntegerDecoderException ide ) { String msg = I18n.err( I18n.ERR_08100_SYNC_REQUEST_VALUE_MODE_DECODING_FAILED ); LOG.error( msg, ide ); throw new DecoderException( msg, ide ); } } } );