LDAP Classes
Implements Java LDAP

com.novell.ldap.events.edir.eventdata
Class GeneralDSEventData

java.lang.Object
  extended bycom.novell.ldap.events.edir.eventdata.GeneralDSEventData
All Implemented Interfaces:
EventResponseData

public class GeneralDSEventData
extends java.lang.Object
implements EventResponseData

This class represents the data for General DS Events. The event data has the following encoding:-

GeneralEventData ::=
  [APPLICATION 3]SEQUENCE {
    dsTime [1] INTEGER,
    milliseconds [2] INTEGER,
    verb [3] INTEGER,
    currentProcess [4] INTEGER,
    perpetratorDN [5] LDAPDN,
    integerValues [6] SEQUENCE OF INTEGER,
    stringValues [7]SEQUENCE OF LDAPSTRING
    }Note: The Tags for Integer and stringValues are complex.

Note: Please refer the JLDAP SDK Documentation at http://developer.novell.com/ndk/jldap.htm for details of all the properties.


Constructor Summary
GeneralDSEventData(ASN1Object dsobject)
          Default Constructor
 
Method Summary
 int getCurrentProcess()
          Returns the Current Processor id , which generated this event.
 int getDsTime()
          Returns the DS Time for this event.
 int[] getIntegerValues()
          Returns the array of Integer values, returned as data.
 int getMilliSeconds()
          Returns the Time in Milliseconds.
 java.lang.String getPerpetratorDN()
          Returns the Perpetrator DN for this Event.
 java.lang.String[] getStringValues()
          Returns the array of String values, returned as data.
 int getVerb()
          Returns the Verb associated with this event.
 java.lang.String toString()
          Returns a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneralDSEventData

public GeneralDSEventData(ASN1Object dsobject)
                   throws java.io.IOException
Default Constructor

Parameters:
dsobject - ASN1Object containing the encoded data as String.
Throws:
java.io.IOException - When decoding of message fails.
Method Detail

getCurrentProcess

public int getCurrentProcess()
Returns the Current Processor id , which generated this event.

Returns:
Current Processor id as integer.

getDsTime

public int getDsTime()
Returns the DS Time for this event.

Returns:
DSTime for this event.

getIntegerValues

public int[] getIntegerValues()
Returns the array of Integer values, returned as data. The function returns null, if no values are returned.

Returns:
array of int.

getMilliSeconds

public int getMilliSeconds()
Returns the Time in Milliseconds.

Returns:
Time as integer.

getPerpetratorDN

public java.lang.String getPerpetratorDN()
Returns the Perpetrator DN for this Event.

Returns:
PerpetratorDN as String.

getStringValues

public java.lang.String[] getStringValues()
Returns the array of String values, returned as data. The function returns null, if no values are returned.

Returns:
array of String.

getVerb

public int getVerb()
Returns the Verb associated with this event.

Returns:
Verb as integer.

toString

public java.lang.String toString()
Returns a string representation of the object.

Returns:
a string representation of the object.
See Also:
Object.toString()

LDAP Classes
Implements Java LDAP

Copyright © 2002 Novell, Inc. All Rights Reserved.
Novell, Inc.
1800 South Novell Place
Provo, Ut 84606
Phone: (801) 861-5000