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:
[legend]List of all members.
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
- the thread that reads a part of the message would not be the same thread that reads and fills the rest of the message
- the thread that actually processes the message can be totally different.
Constructor & Destructor Documentation
TAO_Incoming_Message_Queue::TAO_Incoming_Message_Queue |
( |
TAO_ORB_Core * |
orb_core |
) |
|
|
Member Function Documentation
|
Copy message from block to the tail of the queue. The size of message that is copied to the tail node is returned. The number of bytes copied depends on the amount of bytes needed to make the tail node consistent. |
|
Adding and deleting a node from the queue.
|
|
Make a node for the queue.
|
ACE_INLINE int TAO_Incoming_Message_Queue::is_head_complete |
( |
void |
|
) |
|
|
ACE_INLINE int TAO_Incoming_Message_Queue::is_tail_complete |
( |
void |
|
) |
|
|
|
Methods for sanity check. Checks to see whether the node on the head or tail is complete or not and ready for further processing. |
ACE_INLINE int TAO_Incoming_Message_Queue::is_tail_fragmented |
( |
void |
|
) |
|
|
|
This method checks whether the last message that was queued up was fragmented... |
ACE_INLINE size_t TAO_Incoming_Message_Queue::missing_data_tail |
( |
void |
|
) |
const |
|
|
Return the size of data that is missing in tail of the queue.
|
|
Return the length of the queue..
|
Friends And Related Function Documentation
Member Data Documentation
|
A linked listof messages that await processing.
|
The documentation for this class was generated from the following files:
Generated on Fri Dec 31 15:30:26 2004 for TAO by
1.3.9.1