| | |
| | | |
| | | |
| | | |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | | import java.util.List; |
| | | import java.util.Set; |
| | | import java.io.IOException; |
| | | |
| | | import org.opends.messages.Message; |
| | | import org.opends.server.admin.std.server.PluginCfg; |
| | | import org.opends.server.api.plugin.*; |
| | | import org.opends.server.api.plugin.DirectoryServerPlugin; |
| | | import org.opends.server.api.plugin.PluginResult; |
| | | import org.opends.server.api.plugin.PluginType; |
| | | import org.opends.server.config.ConfigException; |
| | | import org.opends.server.controls.ControlDecoder; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.opends.server.protocols.asn1.ASN1Writer; |
| | | import org.opends.server.types.*; |
| | | import org.opends.server.types.operation.*; |
| | | import org.opends.server.controls.ControlDecoder; |
| | | import org.opends.server.loggers.ErrorLogger; |
| | | import org.opends.messages.Message; |
| | | |
| | | |
| | | /** |
| | |
| | | /** |
| | | * {@inheritDoc} |
| | | */ |
| | | @Override |
| | | public DisconnectClientControl decode(boolean isCritical, |
| | | ByteString value) |
| | | throws DirectoryException |
| | |
| | | return new DisconnectClientControl(isCritical, value.toString()); |
| | | } |
| | | |
| | | @Override |
| | | public String getOID() |
| | | { |
| | | return OID_DISCONNECT_REQUEST; |
| | |
| | | private String section; |
| | | |
| | | /** |
| | | * Constructs a new change number control. |
| | | * Constructs a new control of this class. |
| | | * |
| | | * @param isCritical Indicates whether support for this control should be |
| | | * considered a critical part of the server processing. |
| | | * @param section The section to use for the disconnect. |
| | | * @param isCritical |
| | | * Indicates whether support for this control should be considered |
| | | * a critical part of the server processing. |
| | | * @param section |
| | | * The section to use for the disconnect. |
| | | */ |
| | | public DisconnectClientControl(boolean isCritical, String section) |
| | | { |