| | |
| | | import org.opends.server.core.PersistentSearch; |
| | | import org.opends.server.core.PluginConfigManager; |
| | | import org.opends.server.core.SearchOperation; |
| | | import org.opends.server.core.NetworkGroup; |
| | | import org.opends.server.types.AbstractOperation; |
| | | import org.opends.server.types.Attribute; |
| | | import org.opends.server.types.AttributeType; |
| | | import org.opends.server.types.AttributeValue; |
| | |
| | | // A set of persistent searches registered for this client. |
| | | private CopyOnWriteArrayList<PersistentSearch> persistentSearches; |
| | | |
| | | // The network group to which the connection belongs to. |
| | | private NetworkGroup networkGroup; |
| | | |
| | | |
| | | |
| | | /** |
| | |
| | | lookthroughLimit = DirectoryServer.getLookthroughLimit(); |
| | | finalized = false; |
| | | privileges = new HashSet<Privilege>(); |
| | | networkGroup = NetworkGroup.getDefaultNetworkGroup(); |
| | | } |
| | | |
| | | |
| | |
| | | * @return The set of operations in progress for this client |
| | | * connection. |
| | | */ |
| | | public abstract Collection<Operation> getOperationsInProgress(); |
| | | public abstract Collection<AbstractOperation> |
| | | getOperationsInProgress(); |
| | | |
| | | |
| | | |
| | |
| | | * or <CODE>null</CODE> if no such operation could be |
| | | * found. |
| | | */ |
| | | public abstract Operation getOperationInProgress(int messageID); |
| | | public abstract AbstractOperation |
| | | getOperationInProgress(int messageID); |
| | | |
| | | |
| | | |
| | |
| | | { |
| | | finalizeConnectionInternal(); |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Returns the network group to which the connection belongs. |
| | | * |
| | | * @return the network group attached to the connection |
| | | */ |
| | | public NetworkGroup getNetworkGroup() |
| | | { |
| | | return networkGroup; |
| | | } |
| | | |
| | | /** |
| | | * Sets the network group to which the connection belongs. |
| | | * |
| | | * @param networkGroup the network group to which the |
| | | * connections belongs to |
| | | */ |
| | | public void setNetworkGroup (NetworkGroup networkGroup) |
| | | { |
| | | this.networkGroup = networkGroup; |
| | | } |
| | | |
| | | } |
| | | |