|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.ldap.client.api.message.AbstractMessage
org.apache.directory.ldap.client.api.message.AbstractRequest
public class AbstractRequest
An abstract class containing the Controls and timeout for all the requests.
Constructor Summary | |
---|---|
protected |
AbstractRequest()
Creates a new instance of AbstractRequest. |
Method Summary | |
---|---|
long |
getTimeout()
Get the client message timeout. |
Message |
setTimeout(long timeout)
Set a request client timeout. |
Methods inherited from class org.apache.directory.ldap.client.api.message.AbstractMessage |
---|
add, getControl, getControls, getMessageId, hasControl, remove, setMessageId, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.apache.directory.ldap.client.api.message.Message |
---|
add, getControl, getControls, getMessageId, hasControl, remove, setMessageId |
Constructor Detail |
---|
protected AbstractRequest()
Method Detail |
---|
public long getTimeout()
getTimeout
in interface Request
public Message setTimeout(long timeout)
setTimeout
in interface Request
timeout
- The new timeout, expressed in milliseconds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |