Pointer to RCF::RcfClient
Posted: Tue Dec 13, 2016 10:31 pm
Hi All,
I'm trying to figure out how to send a protobuf::message via a RCF::RcfClient. I'm trying to send a "heartbeat" message via multicast as described here:
http://www.deltavsoft.com/doc/rcf_user_ ... ations.Udp
But can't figure out the syntax for how to make this work. More specifically, the reference above includes the following:
RcfClient<I_Echo> client( RCF::UdpEndpoint("232.5.5.5", 50001) );
client.Echo(RCF::Oneway, "ping");
How do I create the "I_Echo" template when I'm just want to send a protobuf::message?
There's no RPC, or client/server component here, per se, rather I just want to transmit this message on a given multicast address and port.
Many thanks,
Lucimur
I'm trying to figure out how to send a protobuf::message via a RCF::RcfClient. I'm trying to send a "heartbeat" message via multicast as described here:
http://www.deltavsoft.com/doc/rcf_user_ ... ations.Udp
But can't figure out the syntax for how to make this work. More specifically, the reference above includes the following:
RcfClient<I_Echo> client( RCF::UdpEndpoint("232.5.5.5", 50001) );
client.Echo(RCF::Oneway, "ping");
How do I create the "I_Echo" template when I'm just want to send a protobuf::message?
There's no RPC, or client/server component here, per se, rather I just want to transmit this message on a given multicast address and port.
Many thanks,
Lucimur