org.apache.directory.shared.ldap.extras.extended.ads_impl.gracefulShutdown
Class GracefulShutdownRequestDecorator
java.lang.Object
org.apache.directory.shared.ldap.codec.api.MessageDecorator<M>
org.apache.directory.shared.ldap.codec.decorators.RequestDecorator<M>
org.apache.directory.shared.ldap.codec.decorators.ResultResponseRequestDecorator<M,R>
org.apache.directory.shared.ldap.codec.decorators.SingleReplyRequestDecorator<Q,P>
org.apache.directory.shared.ldap.codec.api.ExtendedRequestDecorator<GracefulShutdownRequest,GracefulShutdownResponse>
org.apache.directory.shared.ldap.extras.extended.ads_impl.gracefulShutdown.GracefulShutdownRequestDecorator
- All Implemented Interfaces:
- Decorator<GracefulShutdownRequest>, GracefulShutdownRequest, AbandonableRequest, ExtendedRequest<GracefulShutdownResponse>, Message, Request, ResultResponseRequest<GracefulShutdownResponse>, SingleReplyRequest<GracefulShutdownResponse>
public class GracefulShutdownRequestDecorator
- extends ExtendedRequestDecorator<GracefulShutdownRequest,GracefulShutdownResponse>
- implements GracefulShutdownRequest
A Decorator for GracefulShutdownRequests.
- Author:
- Apache Directory Project
| Methods inherited from class org.apache.directory.shared.ldap.codec.api.ExtendedRequestDecorator |
addAllControls, addControl, computeLength, encode, getExtendedRequestLength, getRequestName, getRequestNameBytes, removeControl, setExtendedRequestLength, setMessageId, setRequestName, setRequestNameBytes |
| Methods inherited from class org.apache.directory.shared.ldap.codec.api.MessageDecorator |
get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLength, toString |
| Methods inherited from interface org.apache.directory.shared.ldap.model.message.Request |
hasResponse |
GracefulShutdownRequestDecorator
public GracefulShutdownRequestDecorator(LdapApiService codec,
GracefulShutdownRequest decoratedMessage)
- Creates a new instance of GracefulShutdownRequestDecorator.
- Parameters:
codec - decoratedMessage -
setRequestValue
public void setRequestValue(byte[] requestValue)
-
- Overrides:
setRequestValue in class ExtendedRequestDecorator<GracefulShutdownRequest,GracefulShutdownResponse>
getRequestValue
public byte[] getRequestValue()
-
- Overrides:
getRequestValue in class ExtendedRequestDecorator<GracefulShutdownRequest,GracefulShutdownResponse>
getDelay
public int getDelay()
-
- Specified by:
getDelay in interface GracefulShutdownRequest
setDelay
public void setDelay(int delay)
-
- Specified by:
setDelay in interface GracefulShutdownRequest
getTimeOffline
public int getTimeOffline()
-
- Specified by:
getTimeOffline in interface GracefulShutdownRequest
setTimeOffline
public void setTimeOffline(int timeOffline)
-
- Specified by:
setTimeOffline in interface GracefulShutdownRequest
Copyright © 2003-2011 The Apache Software Foundation. All Rights Reserved.