Encapsulates a Glacier2 session and provides much of the same functionality as Glacier2::Application but better suited for graphical applications.
More...
#include <Glacier2/Glacier2.h>
Encapsulates a Glacier2 session and provides much of the same functionality as Glacier2::Application but better suited for graphical applications.
◆ ~SessionHelper()
| virtual Glacier2::SessionHelper::~SessionHelper |
( |
| ) |
|
|
virtual |
◆ addWithUUID()
Adds a servant to the callback object adapter using a UUID for the identity name.
Also see Ice::ObjectAdapter::addWithUUID.
- Parameters
-
| servant | The servant to add to the callback object adapter's active servant table. |
- Returns
- A proxy for the object.
- Exceptions
-
◆ categoryForClient()
| virtual std::string Glacier2::SessionHelper::categoryForClient |
( |
| ) |
const |
|
pure virtual |
Obtains the category that must be used in the identities of all callback objects.
- Returns
- The identity category.
- Exceptions
-
◆ communicator()
Obtains the communicator created by the SessionHelper.
- Returns
- The communicator object.
- Exceptions
-
◆ destroy()
| virtual void Glacier2::SessionHelper::destroy |
( |
| ) |
|
|
pure virtual |
Initiates the destruction of the Glacier2 session, including the communicator created by the SessionHelper.
◆ isConnected()
| virtual bool Glacier2::SessionHelper::isConnected |
( |
| ) |
const |
|
pure virtual |
Determines whether the session is active.
- Returns
- True if the session is currently active, false otherwise.
◆ objectAdapter()
Obtains the callback object adapter.
This object adapter is only created if the session factory was configured to do so using SessionFactoryHelper::setUseCallbacks.
- Returns
- The object adapter, or nil if no object adapter was created.
- Exceptions
-
◆ operator!=()
| bool Glacier2::SessionHelper::operator!= |
( |
const SessionHelper & | | ) |
const |
◆ operator==()
| bool Glacier2::SessionHelper::operator== |
( |
const SessionHelper & | | ) |
const |
◆ session()
Obtains a proxy for the Glacier2 session.
- Returns
- The session proxy, or a nil proxy if no session is currently active.
The documentation for this class was generated from the following file: