Boost logo

Boost :

From: Jarl Lindrud (jlindrud_at_[hidden])
Date: 2006-04-10 07:11:59

Felipe Magno de Almeida <felipe.m.almeida <at>> writes:

> Wouldnt this be possible?
> std::string foo(std::string);
> rcf::server s(endpoint);
> rcf::binder<std::string(std::string)> echo(&foo);
> int main()
> {
> s.register("IEcho", echo);
>; // blocks
> return;
> }

It certainly is possible, and it's something I want to implement, but as you say
it doesn't cover the case where you want to expose an interface consisting of
several functions.

> Yes, what I wanted to say(but forgot to) is that RCF could use it. As
> it could use shmem and asio for IPC. That would make rcf with a
> cleaner interface.
> BTW, I dont like very much the RCF namespace all in caps, it seems
> like a macro. But that's just an aesthetic issue.

Yeah, Rcf:: would be better. I've just gotten so used to the caps that I don't
see them :)



Boost list run by bdawes at, gregod at, cpdaniel at, john at