ACE_GQoS_Session Class Reference
A GQoS session object.
More...
#include <QoS_Session_Impl.h>
List of all members.
Detailed Description
A GQoS session object.
This class is a GQoS (Generic QoS, an implementation of RSVP on Win2K) implementation of the ACE_QoS_Session interface.
Constructor & Destructor Documentation
ACE_GQoS_Session::~ACE_GQoS_Session |
( |
void |
|
) |
|
ACE_GQoS_Session::ACE_GQoS_Session |
( |
void |
|
) |
[private] |
Default constructor. Constructor is defined private so that only the friend factory can instantiate this class.
Member Function Documentation
int ACE_GQoS_Session::close |
( |
void |
|
) |
[virtual] |
void ACE_GQoS_Session::dest_addr |
( |
const ACE_INET_Addr & |
dest_addr |
) |
[virtual] |
Set the destination address for this GQoS session.
Implements ACE_QoS_Session.
ACE_INET_Addr ACE_GQoS_Session::dest_addr |
( |
void |
|
) |
const [virtual] |
Get the destination address for this GQoS session.
Implements ACE_QoS_Session.
Open a GQoS session [dest IP, dest port, Protocol ID].
Implements ACE_QoS_Session.
void ACE_GQoS_Session::qos |
( |
const ACE_QoS & |
ace_qos |
) |
[virtual] |
Sets the QoS for this session object to ace_qos. Does not interfere with the QoS in the underlying socket. This call is useful to update the QoS object when the underlying socket QoS is being set through a mechanism other than the previous qos () method e.g. inside the dgram_mcast.subscribe () where the QoS for the socket is set through ACE_OS::join_leaf ().
Implements ACE_QoS_Session.
Set QoS for this GQoS session. The socket parameter is used to confirm if this QoS session was subscribed to by the socket.
Implements ACE_QoS_Session.
ACE_QoS ACE_GQoS_Session::qos |
( |
void |
|
) |
const [virtual] |
ACE_HANDLE ACE_GQoS_Session::rsvp_events_handle |
( |
void |
|
) |
[virtual] |
Get the file descriptor of the underlying socket.
Implements ACE_QoS_Session.
void ACE_GQoS_Session::session_id |
( |
const int |
session_id |
) |
[virtual] |
int ACE_GQoS_Session::session_id |
( |
void |
|
) |
const [virtual] |
void ACE_GQoS_Session::source_addr |
( |
ACE_INET_Addr * |
source_addr |
) |
[virtual] |
ACE_INET_Addr * ACE_GQoS_Session::source_addr |
( |
void |
|
) |
const [virtual] |
void ACE_GQoS_Session::source_port |
( |
const u_short & |
source_port |
) |
[virtual] |
u_short ACE_GQoS_Session::source_port |
( |
void |
|
) |
const [virtual] |
int ACE_GQoS_Session::update_qos |
( |
void |
|
) |
[virtual] |
Calls the ioctl (ACE_SIO_GET_QOS). It is a mechanism of updating the QoS for this session asynchronously, as RSVP events occur.
Implements ACE_QoS_Session.
int ACE_GQoS_Session::version |
( |
void |
|
) |
[virtual] |
Get the RAPI event that last occured.
GQoS version.
Implements ACE_QoS_Session.
Friends And Related Function Documentation
The factory is a friend so it can create this object through the only private constructor.
Member Data Documentation
This is a session ID generator. It does a lot more than expected from an int!.
The documentation for this class was generated from the following files: