Cleanup ACE_HAS_PTHREAD_SIGMASK_PROTOTYPE, all platforms support it so far as I can...
[ACE_TAO.git] / ACE / protocols / ace / RMCast / Stack.cpp
blob3a02efc24b876a0fdb6561ec11e37ce74b552ce5
1 // author : Boris Kolpackov <boris@kolpackov.net>
2 #include "Stack.h"
4 namespace ACE_RMCast
6 // Out_Element
7 //
9 Out_Element::
10 ~Out_Element ()
14 Out_Element::
15 Out_Element ()
16 : out_ (0)
20 void Out_Element::
21 out_start (Out_Element* out)
23 out_ = out;
26 void Out_Element::send (Message_ptr m)
28 if (out_) out_->send (m);
31 void Out_Element::
32 out_stop ()
34 out_ = 0;
38 // In_Element
41 In_Element::
42 ~In_Element ()
46 In_Element::
47 In_Element ()
48 : in_ (0)
52 void In_Element::
53 in_start (In_Element* in)
55 in_ = in;
58 void In_Element::recv (Message_ptr m)
60 if (in_) in_->recv (m);
63 void In_Element::
64 in_stop ()
66 in_ = 0;