/** * Creates a new instance of SortRequestContainer. * * @param codec the LDAP codec */ public SortRequestContainer( LdapApiService codec ) { super(); this.codec = codec; setGrammar( SortRequestGrammar.getInstance() ); setTransition( SortRequestStates.START_STATE ); }
/** * Creates a new instance of SortResponseContainer. * * @param codec the LDAP codec */ public SortResponseContainer( LdapApiService codec ) { super(); this.codec = codec; setGrammar( SortResponseGrammar.getInstance() ); setTransition( SortResponseStates.START_STATE ); }
/** * {@inheritDoc} */ @Override public CodecControl<SortRequest> newCodecControl( SortRequest control ) { return new SortRequestDecorator( codec, control ); } }
/** * {@inheritDoc} */ @Override protected void setIntegerValue( int value, Asn1Container container ) { SortResponseContainer sortRespContainer = ( SortResponseContainer ) container; SortResultCode code = SortResultCode.get( value ); sortRespContainer.getControl().setSortResult( code ); sortRespContainer.setGrammarEndAllowed( true ); } }
/** * Creates a new instance of SortRequestContainer. * * @param codec the LDAP codec * @param control the sort request control */ public SortRequestContainer( LdapApiService codec, SortRequest control ) { this( codec ); decorate( control ); }
/** * {@inheritDoc} */ @Override public CodecControl<SortResponse> newCodecControl() { return new SortResponseDecorator( codec ); }
/** * Creates a new instance of SortResponseContainer. * * @param codec the LDAP codec * @param control the sort response control */ public SortResponseContainer( LdapApiService codec, SortResponse control ) { this( codec ); decorate( control ); }
/** * Creates a new instance of SortRequestContainer. * * @param codec the LDAP codec */ public SortRequestContainer( LdapApiService codec ) { super(); this.codec = codec; setGrammar( SortRequestGrammar.getInstance() ); setTransition( SortRequestStates.START_STATE ); }
/** * Creates a new instance of SortResponseContainer. * * @param codec the LDAP codec */ public SortResponseContainer( LdapApiService codec ) { super(); this.codec = codec; setGrammar( SortResponseGrammar.getInstance() ); setTransition( SortResponseStates.START_STATE ); }
/** * {@inheritDoc} */ @Override protected void setIntegerValue( int value, Asn1Container container ) { SortResponseContainer sortRespContainer = ( SortResponseContainer ) container; SortResultCode code = SortResultCode.get( value ); sortRespContainer.getControl().setSortResult( code ); sortRespContainer.setGrammarEndAllowed( true ); } }
/** * {@inheritDoc} */ @Override public CodecControl<SortRequest> newCodecControl() { return new SortRequestDecorator( codec ); }
/** * Creates a new instance of SortRequestContainer. * * @param codec the LDAP codec * @param control the sort request control */ public SortRequestContainer( LdapApiService codec, SortRequest control ) { this( codec ); decorate( control ); }
/** * {@inheritDoc} */ @Override public CodecControl<SortResponse> newCodecControl( SortResponse control ) { return new SortResponseDecorator( codec, control ); } }
/** * Creates a new instance of SortRequestContainer. * * @param codec the LDAP codec */ public SortRequestContainer( LdapApiService codec ) { super(); this.codec = codec; setGrammar( SortRequestGrammar.getInstance() ); setTransition( SortRequestStates.START_STATE ); }
/** * Creates a new instance of SortResponseContainer. * * @param codec the LDAP codec */ public SortResponseContainer( LdapApiService codec ) { super(); this.codec = codec; setGrammar( SortResponseGrammar.getInstance() ); setTransition( SortResponseStates.START_STATE ); }
/** * {@inheritDoc} */ @Override public CodecControl<SortRequest> newCodecControl( SortRequest control ) { return new SortRequestDecorator( codec, control ); } }
/** * {@inheritDoc} */ @Override public CodecControl<SortRequest> newCodecControl() { return new SortRequestDecorator( codec ); }
/** * {@inheritDoc} */ @Override public CodecControl<SortRequest> newCodecControl( SortRequest control ) { return new SortRequestDecorator( codec, control ); } }