| | |
| | | * CDDL HEADER END |
| | | * |
| | | * |
| | | * Copyright 2006-2009 Sun Microsystems, Inc. |
| | | * Copyright 2006-2010 Sun Microsystems, Inc. |
| | | */ |
| | | package org.opends.server.core; |
| | | |
| | |
| | | psearch.searchOperation.getClientConnection().deregisterPersistentSearch( |
| | | psearch); |
| | | |
| | | //Decrement of psearch count maintained by the server. |
| | | DirectoryServer.deregisterPersistentSearch(); |
| | | |
| | | // Notify any cancellation callbacks. |
| | | for (CancellationCallback callback : psearch.cancellationCallbacks) |
| | | { |
| | |
| | | { |
| | | searchOperation.getClientConnection().registerPersistentSearch(this); |
| | | searchOperation.setSendResponse(false); |
| | | //Register itself with the Core. |
| | | DirectoryServer.registerPersistentSearch(); |
| | | } |
| | | |
| | | |