TAO 4.0.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | Friends | List of all members
TAO_Incoming_Message_Queue Class Reference

A queue of the messages in the incoming data path. More...

#include <Incoming_Message_Queue.h>

Collaboration diagram for TAO_Incoming_Message_Queue:
Collaboration graph
[legend]

Public Member Functions

 TAO_Incoming_Message_Queue (TAO_ORB_Core *orb_core)
 Constructor.
 
 ~TAO_Incoming_Message_Queue ()
 Destructor.
 
TAO_Queued_Datadequeue_head ()
 Adding and deleting a node from the queue.
 
TAO_Queued_Datadequeue_tail ()
 
int enqueue_tail (TAO_Queued_Data *nd)
 
CORBA::ULong queue_length () const
 Return the length of the queue..
 

Private Attributes

TAO_Queued_Datalast_added_
 A circular linked list of messages awaiting processing.
 
CORBA::ULong size_
 The size of the queue.
 
TAO_ORB_Coreorb_core_
 Copy of our ORB Core.
 

Friends

class TAO_Transport
 

Detailed Description

A queue of the messages in the incoming data path.

Please read the documentation in the TAO_Transport class to find out more about the design of the incoming data path.

Under certain conditions TAO may have to maintain a queue per-connection. This queue is drained by the pluggable protocols framework, normally under control of the ACE_Reactor, but other configurations are conceivable.

The memory that is allocated for holding the messages comes from the global pool for the following reasons

Constructor & Destructor Documentation

◆ TAO_Incoming_Message_Queue()

TAO_Incoming_Message_Queue::TAO_Incoming_Message_Queue ( TAO_ORB_Core * orb_core)

Constructor.

◆ ~TAO_Incoming_Message_Queue()

TAO_Incoming_Message_Queue::~TAO_Incoming_Message_Queue ( )

Destructor.

Member Function Documentation

◆ dequeue_head()

TAO_Queued_Data * TAO_Incoming_Message_Queue::dequeue_head ( )

Adding and deleting a node from the queue.

◆ dequeue_tail()

TAO_Queued_Data * TAO_Incoming_Message_Queue::dequeue_tail ( )

◆ enqueue_tail()

int TAO_Incoming_Message_Queue::enqueue_tail ( TAO_Queued_Data * nd)

◆ queue_length()

CORBA::ULong TAO_Incoming_Message_Queue::queue_length ( ) const

Return the length of the queue..

Friends And Related Symbol Documentation

◆ TAO_Transport

friend class TAO_Transport
friend

Member Data Documentation

◆ last_added_

TAO_Queued_Data* TAO_Incoming_Message_Queue::last_added_
private

A circular linked list of messages awaiting processing.

last_message_added_ points to the most recent message added to the list. The earliest addition can be easily accessed via last_message_added_->next_.

◆ orb_core_

TAO_ORB_Core* TAO_Incoming_Message_Queue::orb_core_
private

Copy of our ORB Core.

◆ size_

CORBA::ULong TAO_Incoming_Message_Queue::size_
private

The size of the queue.


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