1 // author : Boris Kolpackov <boris@kolpackov.net>
3 #ifndef ACE_RMCAST_LINK_H
4 #define ACE_RMCAST_LINK_H
6 #include "ace/SOCK_Dgram.h"
7 #include "ace/SOCK_Dgram_Mcast.h"
9 #include "ace/Thread_Manager.h"
13 #include "Parameters.h"
17 class Link
: public Element
22 Link (Address
const& addr
, Parameters
const& params
);
25 in_start (In_Element
* in
);
28 out_start (Out_Element
* out
);
39 send_ (Message_ptr m
);
45 static ACE_THR_FUNC_RETURN
46 recv_thunk (void* obj
);
53 Parameters
const& params_
;
56 ACE_SOCK_Dgram_Mcast rsock_
;
57 ACE_SOCK_Dgram ssock_
;
60 ACE_Thread_Manager recv_mgr_
;
71 #endif // ACE_RMCAST_LINK_H