#include <session.hpp>
Public Member Functions | |
session (bool default_session=false) | |
Creates the object. | |
session (saga::object const &obj) | |
Creates the object. | |
~session (void) | |
Destroys the object. | |
session & | operator= (saga::object const &o) |
Brief description starts here. | |
void | add_context (saga::context const &c) |
Attaches a security context to a session. | |
void | remove_context (saga::context const &c) |
Detaches a security context from a session. | |
std::vector< saga::context > | list_contexts () const |
Retrieves all contexts attached to a session. | |
Friends | |
bool | operator== (session const &lhs, session const &rhs) |
Brief description starts here. |
A session instance to be used on ob ect instantiation can explicitly be given as first parameter to the SAGA object instantiation call (CONSTRUCTOR). If the session is omitted as first parameter, a default session is used, with default security context(s) attached. The default session can be obtained by passing true to the session CONSTRUCTOR.
saga::session::session | ( | bool | default_session = false |
) | [explicit] |
Creates the object.
saga::session::session | ( | saga::object const & | obj | ) | [explicit] |
Creates the object.
References saga::BadParameter, saga::object::get_type(), and saga::object::Session.
saga::session::~session | ( | void | ) |
Destroys the object.
session & saga::session::operator= | ( | saga::object const & | o | ) |
Brief description starts here.
References saga::BadParameter, saga::object::get_type(), and saga::object::Session.
void saga::session::add_context | ( | saga::context const & | c | ) |
void saga::session::remove_context | ( | saga::context const & | c | ) |
std::vector< context > saga::session::list_contexts | ( | ) | const |
Brief description starts here.