Package org.apache.directory.api.ldap.extras.extended.gracefulDisconnect

Examples of org.apache.directory.api.ldap.extras.extended.gracefulDisconnect.GracefulDisconnectResponseImpl



    public static GracefulDisconnectResponse getGracefulDisconnect( int timeOffline, int delay )
    {
        // build the graceful disconnect message with replicationContexts
        return new GracefulDisconnectResponseImpl( timeOffline, delay );
    }
View Full Code Here


                    public void action( GracefulDisconnectContainer container )
                    {
                        GracefulDisconnectResponseDecorator gracefulDisconnectResponse =
                            new GracefulDisconnectResponseDecorator(
                                LdapApiServiceFactory.getSingleton(),
                                new GracefulDisconnectResponseImpl()
                                );
                        container.setGracefulDisconnectResponse( gracefulDisconnectResponse );
                        container.setGrammarEndAllowed( true );
                    }
                } );
View Full Code Here

     * {@inheritDoc}
     */
    public GracefulDisconnectResponse newResponse( byte[] encodedValue ) throws DecoderException
    {
        GracefulDisconnectResponseDecorator req = new GracefulDisconnectResponseDecorator( codec,
            new GracefulDisconnectResponseImpl() );
        req.setResponseValue( encodedValue );
       
        return req;
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.api.ldap.extras.extended.gracefulDisconnect.GracefulDisconnectResponseImpl

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.