NAME

ACE_QoS_Session_Factory - Concrete factory for the QoS Session objects.

SYNOPSIS

#include <ace/QoS_Session_Factory.h>

class ACE_QoS_Session_Factory { public: ACE_QoS_Session_Factory (void); ~ACE_QoS_Session_Factory (void); enum ACE_QoS_Session_Type{ ACE_RAPI_SESSION, ACE_GQOS_SESSION }; ACE_QoS_Session * create_session ( ACE_QoS_Session_Type qos_session_type ); int destroy_session (ACE_QoS_Session *qos_session); private: int add_session (ACE_QoS_Session *qos_session); int remove_session (ACE_QoS_Session *qos_session); typedef ACE_Unbounded_Set <ACE_QoS_Session *> QOS_SESSION_SET; QOS_SESSION_SET qos_session_set_; };

DESCRIPTION

This class manages the life cycle of QoS Session objects. These objects are currently either RAPI session objects or GQoS session objects. It stores the sessions in an unbounded set.

Initialization and termination methods.

ACE_QoS_Session_Factory (void);

~ACE_QoS_Session_Factory (void);

ACE_QoS_Session * create_session (
    ACE_QoS_Session_Type qos_session_type
    );

int destroy_session (ACE_QoS_Session *qos_session);

AUTHOR

Vishal Kachroo vishal@cs.wustl.edu

LIBRARY

ace