C# Class Novell.Directory.Ldap.Extensions.GetReplicaInfoResponse

Retrieves the replica information from a GetReplicaInfoResponse object. An object in this class is generated from an ExtendedResponse using the ExtendedResponseFactory class. The getReplicaInfoResponse extension uses the following OID: 2.16.840.1.113719.1.27.100.18
Inheritance: Novell.Directory.Ldap.LdapExtendedResponse
Datei anzeigen Open project: EventStore/csharp-ldap

Public Methods

Method Description
GetReplicaInfoResponse ( RfcLdapMessage rfcMessage ) : System

Constructs an object from the responseValue which contains the replica information. The constructor parses the responseValue which has the following format: responseValue ::= partitionID INTEGER replicaState INTEGER modificationTime INTEGER purgeTime INTEGER localPartitionID INTEGER partitionDN OCTET STRING replicaType INTEGER flags INTEGER

getflags ( ) : int

Returns flags that specify whether the replica is busy or is a boundary. See the ReplicationConstants class for possible values for this field.

getlocalPartitionID ( ) : int

Returns the local numeric identifier for the replica.

getmodificationTime ( ) : int

Returns the time of the most recent modification.

getpartitionDN ( ) : System.String

Returns the distinguished name of the partition.

getpartitionID ( ) : int

Returns the numeric identifier for the partition.

getpurgeTime ( ) : int

Returns the most recent time in which all data has been synchronized.

getreplicaState ( ) : int

Returns the current state of the replica.

getreplicaType ( ) : int

Returns the replica type. See the ReplicationConstants class for possible values for this field.

Method Details

GetReplicaInfoResponse() public method

Constructs an object from the responseValue which contains the replica information. The constructor parses the responseValue which has the following format: responseValue ::= partitionID INTEGER replicaState INTEGER modificationTime INTEGER purgeTime INTEGER localPartitionID INTEGER partitionDN OCTET STRING replicaType INTEGER flags INTEGER
IOException The response value could not be decoded. ///
public GetReplicaInfoResponse ( RfcLdapMessage rfcMessage ) : System
rfcMessage Novell.Directory.Ldap.Rfc2251.RfcLdapMessage
return System

getflags() public method

Returns flags that specify whether the replica is busy or is a boundary. See the ReplicationConstants class for possible values for this field.
public getflags ( ) : int
return int

getlocalPartitionID() public method

Returns the local numeric identifier for the replica.
public getlocalPartitionID ( ) : int
return int

getmodificationTime() public method

Returns the time of the most recent modification.
public getmodificationTime ( ) : int
return int

getpartitionDN() public method

Returns the distinguished name of the partition.
public getpartitionDN ( ) : System.String
return System.String

getpartitionID() public method

Returns the numeric identifier for the partition.
public getpartitionID ( ) : int
return int

getpurgeTime() public method

Returns the most recent time in which all data has been synchronized.
public getpurgeTime ( ) : int
return int

getreplicaState() public method

Returns the current state of the replica.
public getreplicaState ( ) : int
return int

getreplicaType() public method

Returns the replica type. See the ReplicationConstants class for possible values for this field.
public getreplicaType ( ) : int
return int