3 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
5 /************************************************************************/
6 // Methods for TAO_Incoming_Message_Stack
7 /************************************************************************/
11 Incoming_Message_Stack::Incoming_Message_Stack()
17 Incoming_Message_Stack::~Incoming_Message_Stack()
19 // Delete all the nodes left behind
20 TAO_Queued_Data *del = 0;
22 while (this->pop (del) != -1)
24 TAO_Queued_Data::release (del);
29 Incoming_Message_Stack::push(TAO_Queued_Data *data)
31 data->next (this->top_);
36 /* @return 0 for Ok, -1 for error */
38 Incoming_Message_Stack::pop (TAO_Queued_Data* &data)
44 this->top_ = data->next ();
50 Incoming_Message_Stack::top (TAO_Queued_Data* &data) const
61 TAO_END_VERSIONED_NAMESPACE_DECL