Public Types | |
typedef std::vector < JetByteTools::Core::_tstring > | Names |
typedef std::vector < IServerControl::Status > | Statuses |
Public Member Functions | |
virtual IServerControl & | GetServer (const JetByteTools::Core::_tstring &name) const =0 |
Obtains a reference to an instance of IServerControl from the collection by name. If the named instance does not exist then an exception is thrown. | |
virtual void | GetNames (Names &names) const =0 |
Returns a vector of the names of the servers stored in the collection. | |
virtual void | GetNamesAndStatuses (Names &names, Statuses &statuses) const =0 |
Protected Member Functions | |
virtual | ~IManageNamedServers () |
We never delete instances of this interface; you must manage the lifetime of the class that implements it. |
typedef std::vector<JetByteTools::Core::_tstring> Names |
typedef std::vector<IServerControl::Status> Statuses |
virtual ~IManageNamedServers | ( | ) | [protected, virtual] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
virtual IServerControl& GetServer | ( | const JetByteTools::Core::_tstring & | name | ) | const [pure virtual] |
Obtains a reference to an instance of IServerControl from the collection by name. If the named instance does not exist then an exception is thrown.
Implemented in CNamedServerCollection.
virtual void GetNames | ( | Names & | names | ) | const [pure virtual] |
Returns a vector of the names of the servers stored in the collection.
Implemented in CNamedServerCollection.
Implemented in CNamedServerCollection.