|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.novell.ldap.LDAPMessage
com.novell.ldap.LDAPResponse
com.novell.ldap.LDAPExtendedResponse
com.novell.nds.dirxml.ldap.GetJobStateResponse
public class GetJobStateResponse
The response class for the GetJobStateRequest
operation.
LDAPExtendedResponse.register
then the return from
the LDAPConnection.extendedOperation
call will be an instance of this
class. Call this class's register
method or call
DirXMLExtensions.initialize
to register all DirXML LDAP extension response classes.
ASN1Sequence ASN1Integer running state (0 = stopped, 1 = running) ASN1Integer configuration state (0 = disabled, 1 = enabled, 2 = configuration error) ASN1Integer next scheduled run time (0 if not scheduled, otherwise eDirectory time format)
GetJobStateRequest
,
DirXMLExtensions.initialize()
,
Serialized FormField Summary |
---|
Fields inherited from class com.novell.ldap.LDAPMessage |
---|
ABANDON_REQUEST, ADD_REQUEST, ADD_RESPONSE, BIND_REQUEST, BIND_RESPONSE, COMPARE_REQUEST, COMPARE_RESPONSE, DEL_REQUEST, DEL_RESPONSE, EXTENDED_REQUEST, EXTENDED_RESPONSE, INTERMEDIATE_RESPONSE, message, MODIFY_RDN_REQUEST, MODIFY_RDN_RESPONSE, MODIFY_REQUEST, MODIFY_RESPONSE, SEARCH_REQUEST, SEARCH_RESPONSE, SEARCH_RESULT, SEARCH_RESULT_REFERENCE, UNBIND_REQUEST |
Constructor Summary | |
---|---|
GetJobStateResponse(byte[] berData,
int offset,
int length)
Constructor used to create the JNDI ExtendedResponse implementation. |
|
GetJobStateResponse(com.novell.ldap.rfc2251.RfcLDAPMessage rfcMessage)
Constructor used by response factory to create an instance of this class based on a response message. |
Method Summary | |
---|---|
int |
getConfigurationState()
Return the configuration state of the job. |
byte[] |
getEncodedValue()
|
Date |
getNextRunTime()
Return the next scheduled run time for the job. |
int |
getRunningState()
Return the running state of the job. |
boolean |
isScheduled()
Return true if the job is scheduled to run in the future. |
static void |
register()
Register this class with LDAPExtendedResponse.register for automatic construction
of this class as a result of LDAPConnection.extendedOperation . |
Methods inherited from class com.novell.ldap.LDAPExtendedResponse |
---|
getID, getRegisteredResponses, getValue, register, setDeserializedValues |
Methods inherited from class com.novell.ldap.LDAPResponse |
---|
chkResultCode, getControls, getErrorMessage, getMatchedDN, getMessageID, getReferrals, getResultCode, getType |
Methods inherited from class com.novell.ldap.LDAPMessage |
---|
getTag, isRequest, readDSML, readExternal, setTag, toString, writeDSML, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.naming.ldap.ExtendedResponse |
---|
getID |
Constructor Detail |
---|
public GetJobStateResponse(com.novell.ldap.rfc2251.RfcLDAPMessage rfcMessage)
rfcMessage
- message containing response datapublic GetJobStateResponse(byte[] berData, int offset, int length)
ExtendedResponse
implementation.
berData
- LBER-encoded response dataoffset
- offset of start of response data in berData
parameterlength
- length of response dataMethod Detail |
---|
public int getRunningState()
public int getConfigurationState()
public boolean isScheduled()
true
if the job is scheduled to run in the future.
true
if job is scheduled to run.public Date getNextRunTime()
null
if not scheduledpublic static void register() throws ClassNotFoundException
LDAPExtendedResponse.register
for automatic construction
of this class as a result of LDAPConnection.extendedOperation
.
ClassNotFoundException
- thrown if the java.lang.Class object for this
class cannot be obtained.public byte[] getEncodedValue()
getEncodedValue
in interface ExtendedResponse
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |