com.novell.admin.ns.nds
Class NDSReplicaInfo

java.lang.Object
  |
  +--com.novell.admin.ns.Replica
        |
        +--com.novell.admin.ns.nds.NDSReplica
              |
              +--com.novell.admin.ns.nds.NDSReplicaInfo

public class NDSReplicaInfo
extends NDSReplica

This class stores the NDS replica related information, use this class to retrieve the NDS replica information.


Constructor Summary
NDSReplicaInfo(ObjectEntry partOE, ObjectEntry storedOnSrvOE, java.lang.String srvReadFDN, int ndsRepNum, NDSReplicaType ndsRepType, NDSReplicaState ndsRepState, java.util.Date lastSuccessfulSyncTime, java.util.Vector refAddr, int syncErr)
          Constructor that contains NDS replica information.
 
Method Summary
 java.util.Date getLastSuccessfulSyncTime()
          Returns the last successful synchronization time
 java.util.Vector getReferralAddresses()
          Returns the referral address.
 int getReplicaNumber()
          Returns the NDS replica number.
 java.lang.String getServerReadFDN()
          Returns the fully distinguished name of the server where the replica information is read.
 int getSyncError()
          Returns the last synchronization error.
 
Methods inherited from class com.novell.admin.ns.nds.NDSReplica
getReplicaState, getReplicaType
 
Methods inherited from class com.novell.admin.ns.Replica
getPartition, getStoredOnServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NDSReplicaInfo

public NDSReplicaInfo(ObjectEntry partOE,
                      ObjectEntry storedOnSrvOE,
                      java.lang.String srvReadFDN,
                      int ndsRepNum,
                      NDSReplicaType ndsRepType,
                      NDSReplicaState ndsRepState,
                      java.util.Date lastSuccessfulSyncTime,
                      java.util.Vector refAddr,
                      int syncErr)
Constructor that contains NDS replica information.
Parameters:
partOE - The partition's object entry.
storedOnSrvOE - The object entry of the server storing the replica.
srvReadFDN - The fully distinguished name of the server where the replica info is read.
ndsRepNumber - The NDS replica number.
ndsRepType - The NDS replica type.
ndsRepState - The NDS replica state.
lastSuccessfulSyncTime - The time of the partition's last successful synchronization.
refAddr - The referral address
syncError - Any errors encountered during the last synchronization.
Throws:
java.lang.IllegalArgumentException - Thrown if any one of the arguments is null.
Method Detail

getServerReadFDN

public java.lang.String getServerReadFDN()
Returns the fully distinguished name of the server where the replica information is read.
Returns:
FDN of the server where the replica information is read.

getReplicaNumber

public int getReplicaNumber()
Returns the NDS replica number.
Returns:
The replica number.

getLastSuccessfulSyncTime

public java.util.Date getLastSuccessfulSyncTime()
Returns the last successful synchronization time
Returns:
The last successful synchronization time.

getReferralAddresses

public java.util.Vector getReferralAddresses()
Returns the referral address.
Returns:
Vector of NetAddressFacade.

getSyncError

public int getSyncError()
Returns the last synchronization error.
Returns:
The synchronization error.


API Documentation Copyright © 1998-2003 Novell, Inc. All rights reserved.
ConsoleOne is a registered trademark of Novell Inc.
Generated December 9 2003 1727.