LDAP Classes
Implements Java LDAP

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

java.lang.Object
  extended bycom.novell.ldap.events.edir.eventdata.DSETimeStamp

public class DSETimeStamp
extends java.lang.Object

The class represents the Timestamp datastructure for Edir Events Notification. It contains a time (in seconds), replicaNumber and Event Type.

DSETimeStamp ::= SEQUENCE {
  seconds INTEGER,
  replicaNumber INTEGER,
  event INTEGER
  }

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


Constructor Summary
DSETimeStamp(ASN1Sequence dseobject)
          The Default Constructor which gets the encoded TimeStamp and decodes it into the various component.
 
Method Summary
 int getEvent()
          Specify the Event Type.
 int getReplicaNumber()
          Specify the replica Number of Edor server , for which this event is generated.
 int getSeconds()
          Time in seconds.
 java.lang.String toString()
          String Representation of the Class
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DSETimeStamp

public DSETimeStamp(ASN1Sequence dseobject)
The Default Constructor which gets the encoded TimeStamp and decodes it into the various component.

Parameters:
dseobject - ASN1 encoded form of TimeStamp.
Method Detail

getEvent

public int getEvent()
Specify the Event Type.

Returns:
Event type as int.

getReplicaNumber

public int getReplicaNumber()
Specify the replica Number of Edor server , for which this event is generated.

Returns:
ReplicaNumber as integer.

getSeconds

public int getSeconds()
Time in seconds.

Returns:
Time in seconds as integer.

toString

public java.lang.String toString()
String Representation of the Class

Returns:
string.

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