← Back to team overview

divmod-users team mailing list archive

[Axiom] Should I ever use aggregateInterfaces myself?

 

Hey guys,


My users have persisted twisted.protocols.amp.IBoxReceivers that represent
the APIs available to them. Once they're authenticated, my Realm produces a
single IBoxReceiver.

It seems that the way I should write this is that I have an implementation
of an IBoxReceiver that takes multiple existing IBoxReceivers and sends it
to the right one; then it occurred to me that the behavior I'm looking for
is pretty much identical to what Axiom already does for IService.

Is it a good idea to add IBoxReceiver to the aggregation special case list?
IIUC, the only implication is that anyone else using it in my process will
also go through my special case...

For now, I'm only doing this in one spot, if it matters -- so it's not much
of a problem to just put the combine-box-receiver-logic there.

-- 
cheers
lvh