TAO_CosNotification  2.2.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes | List of all members
TAO_Notify_Method_Request_Event_Queueable Class Reference

A method request for storing events. More...

#include <Method_Request_Event.h>

Inheritance diagram for TAO_Notify_Method_Request_Event_Queueable:
Inheritance graph
Collaboration diagram for TAO_Notify_Method_Request_Event_Queueable:
Collaboration graph

Public Member Functions

 TAO_Notify_Method_Request_Event_Queueable (const TAO_Notify_Method_Request_Event &prev_request, const TAO_Notify_Event::Ptr &event)
 
 TAO_Notify_Method_Request_Event_Queueable (TAO_Notify::Delivery_Request_Ptr &request)
 
virtual ~TAO_Notify_Method_Request_Event_Queueable ()
 Destructor. More...
 
virtual int execute (void)
 satisfy the pure virtual method. Should never be called. More...
 
- Public Member Functions inherited from TAO_Notify_Method_Request_Queueable
 TAO_Notify_Method_Request_Queueable ()
 
 TAO_Notify_Method_Request_Queueable (const TAO_Notify_Event *event)
 
virtual
TAO_Notify_Method_Request_Queueable
copy (void)
 
void init (const TAO_Notify_Event *event)
 
const ACE_Time_Valuecreation_time (void) const
 The creation time of the event to which this request corresponds. More...
 
- Public Member Functions inherited from ACE_Message_Block
 ACE_Message_Block (ACE_Allocator *message_block_allocator=0)
 
 ACE_Message_Block (ACE_Data_Block *data_block, Message_Flags flags=0, ACE_Allocator *message_block_allocator=0)
 
 ACE_Message_Block (const char *data, size_t size=0, unsigned long priority=ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY)
 
 ACE_Message_Block (size_t size, ACE_Message_Type type=MB_DATA, ACE_Message_Block *cont=0, const char *data=0, ACE_Allocator *allocator_strategy=0, ACE_Lock *locking_strategy=0, unsigned long priority=ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY, const ACE_Time_Value &execution_time=ACE_Time_Value::zero, const ACE_Time_Value &deadline_time=ACE_Time_Value::max_time, ACE_Allocator *data_block_allocator=0, ACE_Allocator *message_block_allocator=0)
 
 ACE_Message_Block (const ACE_Message_Block &mb, size_t align)
 
int init (const char *data, size_t size=0)
 
int init (size_t size, ACE_Message_Type type=MB_DATA, ACE_Message_Block *cont=0, const char *data=0, ACE_Allocator *allocator_strategy=0, ACE_Lock *locking_strategy=0, unsigned long priority=ACE_DEFAULT_MESSAGE_BLOCK_PRIORITY, const ACE_Time_Value &execution_time=ACE_Time_Value::zero, const ACE_Time_Value &deadline_time=ACE_Time_Value::max_time, ACE_Allocator *data_block_allocator=0, ACE_Allocator *message_block_allocator=0)
 
virtual ~ACE_Message_Block (void)
 
ACE_Message_Type msg_type (void) const
 
void msg_type (ACE_Message_Type type)
 
int is_data_msg (void) const
 
ACE_Message_Type msg_class (void) const
 
Message_Flags set_flags (Message_Flags more_flags)
 
Message_Flags clr_flags (Message_Flags less_flags)
 
Message_Flags flags (void) const
 
Message_Flags set_self_flags (ACE_Message_Block::Message_Flags more_flags)
 
Message_Flags clr_self_flags (ACE_Message_Block::Message_Flags less_flags)
 
Message_Flags self_flags (void) const
 
unsigned long msg_priority (void) const
 
void msg_priority (unsigned long priority)
 
const ACE_Time_Valuemsg_execution_time (void) const
 
void msg_execution_time (const ACE_Time_Value &et)
 
const ACE_Time_Valuemsg_deadline_time (void) const
 
void msg_deadline_time (const ACE_Time_Value &dt)
 
virtual ACE_Message_Blockclone (Message_Flags mask=0) const
 
virtual ACE_Message_Blockduplicate (void) const
 
virtual ACE_Message_Blockrelease (void)
 
int copy (const char *buf, size_t n)
 
int copy (const char *buf)
 
int crunch (void)
 
void reset (void)
 
void access_allocators (ACE_Allocator *&allocator_strategy, ACE_Allocator *&data_block_allocator, ACE_Allocator *&message_block_allocator)
 
void reset_allocators (ACE_Allocator *allocator_strategy=0, ACE_Allocator *data_block_allocator=0, ACE_Allocator *message_block_allocator=0)
 
char * base (void) const
 
void base (char *data, size_t size, Message_Flags=DONT_DELETE)
 
char * end (void) const
 
char * mark (void) const
 
char * rd_ptr (void) const
 
void rd_ptr (char *ptr)
 
void rd_ptr (size_t n)
 
char * wr_ptr (void) const
 
void wr_ptr (char *ptr)
 
void wr_ptr (size_t n)
 
ACE_Data_Blockdata_block (void) const
 
void data_block (ACE_Data_Block *)
 
ACE_Data_Blockreplace_data_block (ACE_Data_Block *)
 
ACE_Message_Blockcont (void) const
 
void cont (ACE_Message_Block *)
 
ACE_Message_Blocknext (void) const
 
void next (ACE_Message_Block *)
 
ACE_Message_Blockprev (void) const
 
void prev (ACE_Message_Block *)
 
ACE_Locklocking_strategy (void)
 
ACE_Locklocking_strategy (ACE_Lock *)
 
int reference_count (void) const
 
void dump (void) const
 
size_t length (void) const
 
void length (size_t n)
 
size_t total_length (void) const
 
size_t total_size (void) const
 
void total_size_and_length (size_t &mb_size, size_t &mb_length) const
 
size_t size (void) const
 
int size (size_t length)
 
size_t total_capacity (void) const
 
size_t capacity (void) const
 
size_t space (void) const
 
- Public Member Functions inherited from TAO_Notify_Method_Request
virtual ~TAO_Notify_Method_Request (void)
 Destructor. More...
 
- Public Member Functions inherited from TAO_Notify_Method_Request_Event
 TAO_Notify_Method_Request_Event (const TAO_Notify_Event *)
 Construct from event. More...
 
 TAO_Notify_Method_Request_Event (const TAO_Notify::Delivery_Request_Ptr &delivery_request)
 Construct from a delivery request. More...
 
 TAO_Notify_Method_Request_Event (const TAO_Notify_Method_Request_Event &rhs, const TAO_Notify_Event *event)
 
virtual ~TAO_Notify_Method_Request_Event ()
 Destructor. More...
 
const TAO_Notify_Eventevent () const
 
void complete ()
 
unsigned long sequence ()
 
bool should_retry ()
 

Private Attributes

TAO_Notify_Event::Ptr event_var_
 

Additional Inherited Members

- Public Types inherited from TAO_Notify_Method_Request_Queueable
enum  { PRIORITY_BASE = 32768 }
 
- Static Public Member Functions inherited from ACE_Message_Block
static ACE_Message_Blockduplicate (const ACE_Message_Block *mb)
 
static ACE_Message_Blockrelease (ACE_Message_Block *mb)
 
- Public Attributes inherited from ACE_Message_Block
 ACE_ALLOC_HOOK_DECLARE
 
- Protected Member Functions inherited from ACE_Message_Block
 ACE_Message_Block (size_t size, ACE_Message_Type type, ACE_Message_Block *cont, const char *data, ACE_Allocator *allocator_strategy, ACE_Lock *locking_strategy, Message_Flags flags, unsigned long priority, const ACE_Time_Value &execution_time, const ACE_Time_Value &deadline_time, ACE_Data_Block *db, ACE_Allocator *data_block_allocator, ACE_Allocator *message_block_allocator)
 
int release_i (ACE_Lock *lock)
 
int init_i (size_t size, ACE_Message_Type type, ACE_Message_Block *cont, const char *data, ACE_Allocator *allocator_strategy, ACE_Lock *locking_strategy, Message_Flags flags, unsigned long priority, const ACE_Time_Value &execution_time, const ACE_Time_Value &deadline_time, ACE_Data_Block *db, ACE_Allocator *data_block_allocator, ACE_Allocator *message_block_allocator)
 
- Protected Attributes inherited from ACE_Message_Block
size_t rd_ptr_
 
size_t wr_ptr_
 
unsigned long priority_
 
ACE_Message_Blockcont_
 
ACE_Message_Blocknext_
 
ACE_Message_Blockprev_
 
ACE_Message_Block::Message_Flags flags_
 
ACE_Data_Blockdata_block_
 
ACE_Allocatormessage_block_allocator_
 
- Protected Attributes inherited from TAO_Notify_Method_Request_Event
const TAO_Notify_Eventevent_
 The Event. More...
 
TAO_Notify::Delivery_Request_Ptr delivery_request_
 Pointer to the routing slip's delivery request (if any) More...
 

Detailed Description

A method request for storing events.

Constructor & Destructor Documentation

TAO_Notify_Method_Request_Event_Queueable::TAO_Notify_Method_Request_Event_Queueable ( const TAO_Notify_Method_Request_Event prev_request,
const TAO_Notify_Event::Ptr event 
)

Constructor Not the event_var is passed as a separate parameter to avoid throwing exceptions from the constructor if it's necessary to copy the event.

TAO_Notify_Method_Request_Event_Queueable::TAO_Notify_Method_Request_Event_Queueable ( TAO_Notify::Delivery_Request_Ptr request)
TAO_Notify_Method_Request_Event_Queueable::~TAO_Notify_Method_Request_Event_Queueable ( )
virtual

Destructor.

Member Function Documentation

int TAO_Notify_Method_Request_Event_Queueable::execute ( void  )
virtual

satisfy the pure virtual method. Should never be called.

Implements TAO_Notify_Method_Request.

Member Data Documentation

TAO_Notify_Event::Ptr TAO_Notify_Method_Request_Event_Queueable::event_var_
private

The documentation for this class was generated from the following files: