Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ImR_Iterator Class Reference

The Iterator for servers in the ImR. More...

#include <Iterator.h>

Inheritance diagram for ImR_Iterator

Inheritance graph
[legend]
Collaboration diagram for ImR_Iterator:

Collaboration graph
[legend]
List of all members.

Public Methods

 ImR_Iterator (Server_Repository::HASH_IMR_ITER *iterator, PortableServer::POA_ptr poa)
 Constructor Ownership of iterator is transfered to this class (we'll delete it).

 ~ImR_Iterator ()
 Destructor.

virtual CORBA::Boolean next_n ( CORBA::ULong how_many, ImplementationRepository::ServerInformationList_out server_list, CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment () ) throw (CORBA::SystemException)
 Returns the next list of up to <how_many> servers. If empty, will return false.

virtual void destroy (CORBA::Environment &ACE_TRY_ENV = CORBA::Environment::default_environment ()) throw (CORBA::SystemException)
 Destroys the iterator.


Private Attributes

Server_Repository::HASH_IMR_ITERiterator_
 Our very own iterator for transversing the server repository.

PortableServer::POA_var poa_
 Our lovely POA.


Detailed Description

The Iterator for servers in the ImR.


Constructor & Destructor Documentation

ImR_Iterator::ImR_Iterator ( Server_Repository::HASH_IMR_ITER * iterator,
PortableServer::POA_ptr poa )
 

Constructor Ownership of iterator is transfered to this class (we'll delete it).

ImR_Iterator::~ImR_Iterator ( )
 

Destructor.


Member Function Documentation

void ImR_Iterator::destroy ( CORBA::Environment & ACE_TRY_ENV = CORBA::Environment::default_environment () ) throw (CORBA::SystemException) [virtual]
 

Destroys the iterator.

CORBA::Boolean ImR_Iterator::next_n ( CORBA::ULong how_many,
ImplementationRepository::ServerInformationList_out server_list,
CORBA::Environment & ACE_TRY_ENV = CORBA::Environment::default_environment () ) throw (CORBA::SystemException) [virtual]
 

Returns the next list of up to <how_many> servers. If empty, will return false.


Member Data Documentation

Server_Repository::HASH_IMR_ITER * ImR_Iterator::iterator_ [private]
 

Our very own iterator for transversing the server repository.

PortableServer::POA_var ImR_Iterator::poa_ [private]
 

Our lovely POA.


The documentation for this class was generated from the following files:
Generated at Sat Dec 1 12:38:41 2001 for TAO_Implementation_Repository by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000