#include <Message_Block.h>
Inheritance diagram for ACE_Deadline_Message_Strategy
Public Methods | |
ACE_Deadline_Message_Strategy (u_long static_bit_field_mask = 0x3FFUL, u_long static_bit_field_shift = 10, u_long dynamic_priority_max = 0x3FFFFFUL, u_long dynamic_priority_offset = 0x200000UL) | |
Ctor, with all arguments defaulted. | |
virtual | ~ACE_Deadline_Message_Strategy (void) |
Virtual dtor. | |
virtual void | convert_priority (ACE_Time_Value &priority, const ACE_Message_Block &mb) |
Dynamic priority conversion function based on time to deadline. | |
virtual void | dump (void) const |
Dump the state of the strategy. |
Assigns dynamic message priority according to time to deadline. The message priority is divided into high and low order bit fields. The high order bit field is used for dynamic message priority, which is updated whenever the convert_priority (...) method is called. The low order bit field is used for static message priority and is left unchanged. The partitioning of the priority value into high and low order bit fields is done according to the arguments passed to the strategy object's constructor.
|
Ctor, with all arguments defaulted.
|
|
Virtual dtor.
|
|
Dynamic priority conversion function based on time to deadline.
Reimplemented from ACE_Dynamic_Message_Strategy. |
|
Dump the state of the strategy.
Reimplemented from ACE_Dynamic_Message_Strategy. |