1 // author : Boris Kolpackov <boris@kolpackov.net>
2 #ifndef ACE_RMCAST_RETRANSMIT_H
3 #define ACE_RMCAST_RETRANSMIT_H
5 #include "ace/Hash_Map_Manager.h"
6 #include "ace/Thread_Manager.h"
11 #include "Parameters.h"
15 class Retransmit
: public Element
18 Retransmit (Parameters
const& params
);
21 out_start (Out_Element
* out
);
36 // Shouldn't be available but ACE_Hash_Map needs it.
43 Descr (Message_ptr msg
)
44 : msg_ (msg
), count_ (0)
63 return msg_
->clone ();
72 ACE_Hash_Map_Manager
<u64
, Descr
, ACE_Null_Mutex
>
79 static ACE_THR_FUNC_RETURN
80 track_thunk (void* obj
);
83 Parameters
const& params_
;
90 ACE_Thread_Manager tracker_mgr_
;
95 #endif // ACE_RMCAST_RETRANSMIT_H