Simias::Server::SearchState Class Reference

Class used to keep track of outstanding searches. More...

Collaboration diagram for Simias::Server::SearchState:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 SearchState (string domainID, ICSEnumerator enumerator, int totalRecords)
 Initializes an instance of an object.
void Dispose ()
 Allows for quick release of managed and unmanaged resources. Called by applications.

Static Public Member Functions

static SearchState GetSearchState (string contextHandle)
 Returns a search context object that contains the state information for an outstanding search.

Properties

bool IsDisposed [get]
 Indicates if the object has been disposed.
string ContextHandle [get]
 Gets the context handle for this object.
int CurrentRecord [get, set]
 Gets or sets the current record.
string DomainID [get]
 Gets the domain ID for the domain that is being searched.
int LastCount [get, set]
 Gets or sets the last record count.
ICSEnumerator Enumerator [get]
 Gets the search iterator.
int TotalRecords [get]
 Gets the total number of records contained by this search.


Detailed Description

Class used to keep track of outstanding searches.


Constructor & Destructor Documentation

Simias::Server::SearchState::SearchState ( string  domainID,
ICSEnumerator  enumerator,
int  totalRecords 
) [inline]

Initializes an instance of an object.

Parameters:
domainID Identifier for the domain that is being searched.
enumerator Search iterator.
totalRecords The total number of records contained in the search.


Member Function Documentation

static SearchState Simias::Server::SearchState::GetSearchState ( string  contextHandle  )  [inline, static]

Returns a search context object that contains the state information for an outstanding search.

Parameters:
contextHandle Context handle that refers to a specific search context object.
Returns:
A SearchState object if a valid one exists, otherwise a null is returned.

void Simias::Server::SearchState::Dispose (  )  [inline]

Allows for quick release of managed and unmanaged resources. Called by applications.


Property Documentation

bool Simias::Server::SearchState::IsDisposed [get]

Indicates if the object has been disposed.

string Simias::Server::SearchState::ContextHandle [get]

Gets the context handle for this object.

int Simias::Server::SearchState::CurrentRecord [get, set]

Gets or sets the current record.

string Simias::Server::SearchState::DomainID [get]

Gets the domain ID for the domain that is being searched.

int Simias::Server::SearchState::LastCount [get, set]

Gets or sets the last record count.

ICSEnumerator Simias::Server::SearchState::Enumerator [get]

Gets the search iterator.

int Simias::Server::SearchState::TotalRecords [get]

Gets the total number of records contained by this search.


The documentation for this class was generated from the following file:

Generated on Wed Apr 8 14:50:15 2009 for simias by  doxygen 1.5.6