#include <QoS_Session_Impl.h>
Inheritance diagram for ACE_GQoS_Session:
Public Methods | |
~ACE_GQoS_Session (void) | |
Default destructor. | |
virtual int | open (ACE_INET_Addr dest_addr, ACE_Protocol_ID protocol_id) |
Open a GQoS session [dest IP, dest port, Protocol ID]. | |
virtual int | close (void) |
Close the GQoS Session. | |
virtual ACE_QoS | qos (void) const |
Returns the QoS for this GQoS session. | |
virtual int | qos (ACE_SOCK *socket, ACE_QoS_Manager *qos_manager, const ACE_QoS &ace_qos) |
virtual void | qos (const ACE_QoS &ace_qos) |
virtual int | update_qos (void) |
virtual ACE_End_Point_Type | flags (void) const |
Get/Set methods for the flags_. | |
virtual void | flags (const ACE_End_Point_Type flags) |
virtual ACE_INET_Addr | dest_addr (void) const |
Get the destination address for this GQoS session. | |
virtual void | dest_addr (const ACE_INET_Addr &dest_addr) |
Set the destination address for this GQoS session. | |
virtual u_short | source_port (void) const |
Get the source port for this session. | |
virtual void | source_port (const u_short &source_port) |
Set the source port for this session. | |
virtual ACE_INET_Addr * | source_addr (void) const |
virtual void | source_addr (ACE_INET_Addr *source_addr) |
Set the source port for this session. | |
virtual int | session_id (void) const |
Get the GQoS session id. | |
virtual void | session_id (const int session_id) |
Set the GQoS session id. | |
virtual ACE_HANDLE | rsvp_events_handle (void) |
Get the file descriptor of the underlying socket. | |
virtual void | rsvp_event_type (RSVP_Event_Type event_type) |
virtual RSVP_Event_Type | rsvp_event_type (void) |
Set the RAPI event that last occured. | |
virtual int | version () |
Get the RAPI event that last occured GQoS version. | |
Static Public Attributes | |
int | GQoS_session_id = 0 |
Private Methods | |
ACE_GQoS_Session (void) | |
Friends | |
class | ACE_QoS_Session_Factory |
This class is a GQoS (Generic QoS, an implementation of RSVP on Win2K) implementation of the ACE_QoS_Session interface.
|
Default destructor.
|
|
Default constructor. Constructor is defined private so that only the friend factory can instantiate this class. |
|
Close the GQoS Session.
Implements ACE_QoS_Session. |
|
Set the destination address for this GQoS session.
Implements ACE_QoS_Session. |
|
Get the destination address for this GQoS session.
Implements ACE_QoS_Session. |
|
Implements ACE_QoS_Session. |
|
Get/Set methods for the flags_.
Implements ACE_QoS_Session. |
|
Open a GQoS session [dest IP, dest port, Protocol ID].
Implements ACE_QoS_Session. |
|
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. |
|
Returns the QoS for this GQoS session.
Implements ACE_QoS_Session. |
|
Set the RAPI event that last occured.
Implements ACE_QoS_Session. |
|
|
|
Get the file descriptor of the underlying socket.
Implements ACE_QoS_Session. |
|
Set the GQoS session id.
Implements ACE_QoS_Session. |
|
Get the GQoS session id.
Implements ACE_QoS_Session. |
|
Set the source port for this session.
Implements ACE_QoS_Session. |
|
Implements ACE_QoS_Session. |
|
Set the source port for this session.
Implements ACE_QoS_Session. |
|
Get the source port for this session.
Implements ACE_QoS_Session. |
|
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. |
|
Get the RAPI event that last occured GQoS version.
Implements ACE_QoS_Session. |
|
The factory is a friend so it can create this object through the only private constructor. |
|
This is a session ID generator. It does a lot more than expected from an int!. |