blob: 99c1524d3a619653e001ce32638e508b20b5f975 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
// $Id$
#include "RMCast_UDP_Proxy.h"
#include "RMCast_Module_Factory.h"
ACE_INLINE
ACE_RMCast_IO_UDP::
ACE_RMCast_IO_UDP (ACE_RMCast_Module_Factory *factory)
: factory_ (factory)
{
}
// Workaround failure in gcc for lynx hosted on solaris
// see ACE_RMCast_IO_UDP::handle_input() for more details
ACE_INLINE ACE_RMCast_UDP_Proxy *
ACE_RMCast_IO_UDP::allocate_and_bind_proxy (ACE_RMCast_Module *module,
const ACE_INET_Addr& from_address)
{
ACE_RMCast_UDP_Proxy *proxy;
ACE_NEW_RETURN (proxy,
ACE_RMCast_UDP_Proxy(this,
from_address),
0);
proxy->next (module);
if (this->map_.bind (from_address, proxy) != 0)
{
// @@ LOG??
return 0;
}
return proxy;
}
|