public class GracefulShutdownRequestDecorator
extends org.apache.directory.api.ldap.codec.api.ExtendedRequestDecorator<org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest>
implements org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest
| Constructor and Description |
|---|
GracefulShutdownRequestDecorator(org.apache.directory.api.ldap.codec.api.LdapApiService codec,
org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest decoratedMessage)
Creates a new instance of GracefulShutdownRequestDecorator.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getDelay() |
byte[] |
getRequestValue() |
int |
getTimeOffline() |
void |
setDelay(int delay) |
void |
setRequestValue(byte[] requestValue) |
void |
setTimeOffline(int timeOffline) |
String |
toString()
Return a string representation of the graceful shutdown
|
addAllControls, addControl, computeLength, encode, getRequestName, removeControl, setMessageId, setRequestNameabandon, addAbandonListener, getResponseType, isAbandonedgetResultResponse, hasResponseget, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLengthclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestNamegetResponseTypepublic GracefulShutdownRequestDecorator(org.apache.directory.api.ldap.codec.api.LdapApiService codec,
org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest decoratedMessage)
codec - decoratedMessage - public void setRequestValue(byte[] requestValue)
setRequestValue in class org.apache.directory.api.ldap.codec.api.ExtendedRequestDecorator<org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest>public byte[] getRequestValue()
getRequestValue in class org.apache.directory.api.ldap.codec.api.ExtendedRequestDecorator<org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest>public int getDelay()
getDelay in interface org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequestpublic void setDelay(int delay)
setDelay in interface org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequestpublic int getTimeOffline()
getTimeOffline in interface org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequestpublic void setTimeOffline(int timeOffline)
setTimeOffline in interface org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequestpublic String toString()
toString in class org.apache.directory.api.ldap.codec.api.MessageDecorator<org.apache.directory.api.ldap.extras.extended.gracefulShutdown.GracefulShutdownRequest>Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.