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

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


        IoAcceptor acceptor = ( IoAcceptor ) requestor.getIoSession().getService();
        List<IoSession> sessions = new ArrayList<IoSession>(
            acceptor.getManagedSessions().values() );

        // build the graceful disconnect message with replicationContexts
        GracefulDisconnectResponse notice = getGracefulDisconnect( req.getTimeOffline(), req.getDelay() );

        // send (synch) the GracefulDisconnect to each client before unbinding
        sendGracefulDisconnect( sessions, notice, requestor.getIoSession() );

        // wait for the specified delay before we unbind the service
View Full Code Here

TOP

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

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.