#include <Notify_Buffering_Strategy.h>
Collaboration diagram for TAO_Notify_Buffering_Strategy:

Public Methods | |
| TAO_Notify_Buffering_Strategy (TAO_Notify_Signal_Property_Long *const queue_length) | |
| virtual | ~TAO_Notify_Buffering_Strategy () |
| virtual void | execute (ACE_Message_Queue< ACE_SYNCH > *msg_queue, TAO_Notify_Command *mb ACE_ENV_ARG_DECL, ACE_Time_Value *tv) |
| Execute this strategy. More... | |
| void | max_queue_length (CORBA::Long max_queue_length) |
| Set the max. queue length. More... | |
| void | max_events_per_consumer (CORBA::Long max_events_per_consumer) |
| Set the max. events per consumer. More... | |
| void | order_policy (CORBA::Short order_policy) |
| Set the order policy. More... | |
| void | discard_policy (CORBA::Short discard_policy) |
| Set the discard policy. More... | |
| void | blocking_timeout (TimeBase::TimeT timeout) |
| Set the blocking timeout. More... | |
Protected Attributes | |
| TAO_Notify_Signal_Property_Long *const | queue_length_ |
| The overall queue length. More... | |
| CORBA::Long | max_queue_length_ |
| Discarding policies kicks in when the <queue_length_> exceeds <max_queue_length_>. More... | |
| CORBA::Long | max_events_per_consumer_ |
| Discarding policies kicks in when the <queue_length_> exceeds <max_events_per_consumer_>. More... | |
| CORBA::Short | order_policy_ |
| Order of events in internal buffers. More... | |
| CORBA::Short | discard_policy_ |
| Policy to discard when buffers are full. More... | |
| CORBA::Boolean | use_max_queue_ |
| Should we use the max queue or max events. More... | |
| TimeBase::TimeT | blocking_timeout_ |
| The blocking timeout will be used in place of discarding if use_blocking_timeout_ is set. This is a TAO specific extension. More... | |
| CORBA::Boolean | use_blocking_timeout_ |
This buffering strategy buffers and discards events according to the policies specified in the CosNotification.idl
|
|
|
|
|
|
|
|
Set the blocking timeout.
|
|
|
Set the discard policy.
|
|
||||||||||||||||
|
Execute this strategy.
|
|
|
Set the max. events per consumer.
|
|
|
Set the max. queue length.
|
|
|
Set the order policy.
|
|
|
The blocking timeout will be used in place of discarding if use_blocking_timeout_ is set. This is a TAO specific extension.
|
|
|
Policy to discard when buffers are full.
|
|
|
Discarding policies kicks in when the <queue_length_> exceeds <max_events_per_consumer_>.
|
|
|
Discarding policies kicks in when the <queue_length_> exceeds <max_queue_length_>.
|
|
|
Order of events in internal buffers.
|
|
|
The overall queue length.
|
|
|
|
|
|
Should we use the max queue or max events.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001