A GQoS session object.
More...
#include <QoS_Session_Impl.h>
A GQoS session object.
This class is a GQoS (Generic QoS, an implementation of RSVP on Win2K) implementation of the ACE_QoS_Session interface.
◆ ~ACE_GQoS_Session()
ACE_GQoS_Session::~ACE_GQoS_Session |
( |
| ) |
|
|
inline |
◆ ACE_GQoS_Session()
ACE_GQoS_Session::ACE_GQoS_Session |
( |
| ) |
|
|
private |
Default constructor. Constructor is defined private so that only the friend factory can instantiate this class.
◆ close()
int ACE_GQoS_Session::close |
( |
| ) |
|
|
virtual |
◆ dest_addr() [1/2]
Get the destination address for this GQoS session.
Implements ACE_QoS_Session.
◆ dest_addr() [2/2]
void ACE_GQoS_Session::dest_addr |
( |
const ACE_INET_Addr & | dest_addr | ) |
|
|
inlinevirtual |
Set the destination address for this GQoS session.
Implements ACE_QoS_Session.
◆ flags() [1/2]
◆ flags() [2/2]
◆ open()
Open a GQoS session [dest IP, dest port, Protocol ID].
Implements ACE_QoS_Session.
◆ qos() [1/3]
ACE_QoS ACE_GQoS_Session::qos |
( |
| ) |
const |
|
inlinevirtual |
◆ qos() [2/3]
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.
◆ qos() [3/3]
void ACE_GQoS_Session::qos |
( |
const ACE_QoS & | ace_qos | ) |
|
|
inlinevirtual |
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.
◆ rsvp_event_type() [1/2]
◆ rsvp_event_type() [2/2]
◆ rsvp_events_handle()
ACE_HANDLE ACE_GQoS_Session::rsvp_events_handle |
( |
| ) |
|
|
inlinevirtual |
Get the file descriptor of the underlying socket.
Implements ACE_QoS_Session.
◆ session_id() [1/2]
int ACE_GQoS_Session::session_id |
( |
| ) |
const |
|
inlinevirtual |
◆ session_id() [2/2]
void ACE_GQoS_Session::session_id |
( |
const int | session_id | ) |
|
|
inlinevirtual |
◆ source_addr() [1/2]
◆ source_addr() [2/2]
void ACE_GQoS_Session::source_addr |
( |
ACE_INET_Addr * | source_addr | ) |
|
|
inlinevirtual |
◆ source_port() [1/2]
u_short ACE_GQoS_Session::source_port |
( |
| ) |
const |
|
inlinevirtual |
◆ source_port() [2/2]
void ACE_GQoS_Session::source_port |
( |
const u_short & | source_port | ) |
|
|
inlinevirtual |
◆ update_qos()
int ACE_GQoS_Session::update_qos |
( |
| ) |
|
|
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.
◆ version()
int ACE_GQoS_Session::version |
( |
| ) |
|
|
inlinevirtual |
Get the RAPI event that last occurred.
GQoS version.
Implements ACE_QoS_Session.
◆ ACE_QoS_Session_Factory
The factory is a friend so it can create this object through the only private constructor.
◆ GQoS_session_id
int ACE_GQoS_Session::GQoS_session_id = 0 |
|
static |
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: