[Telepathy] Spec changes: tube API

Robert McQueen robert.mcqueen at collabora.co.uk
Tue May 22 08:33:32 PDT 2007

Mads Chr. Olesen wrote:
> That ASCII-art just cracked me up :-D

Me too! Intertrons!

> Instead of changing the current method to create all kinds of tubes,
> with all possible parameters, what about making separate methods for
> each kind of tube?
> OfferDTube(s: service, a{sv}: parameters)
> OfferStreamTube(s: socket_addr, a{sv}: parameters)
> OfferDataGramTube(...)
> I can only think of a limited number of different tube-types, so having
> it abstracted in an enum actually doesn't make that much sense to me.

Wow! This is actually a pretty neat idea. I don't really know why we
didn't think of it sooner. Comments?


More information about the Telepathy mailing list