[aerogear-dev] Type in Aerogear-android
Douglas Campos
qmx at qmx.me
Fri Oct 19 12:07:04 EDT 2012
On Oct 19, 2012, at 12:33 PM, Summers Pittman wrote:
> So I'm poking through the Android code an I come across the Type enum. This is the type of connection/transport/whatever (REST currently is the only one supported, but could be anything in the future) that the Pipe object communicates over. It seems to only be ACTUALLY used in a single factory class and just passed around everywhere else.
>
> Now with all of that said: this currently makes it very hard (conceptually I haven't tried) for third parties to add pipe types without modifying the library itself. IE if we only support Google's cloud push tech then someone who was targetting a Kindle would have to code their own type into the aerogear library itself instead of being able to have that in a separate package.
>
> So is this a feature or a bug?
I'd say it's a bug, and we need to provide a something.registerPipeFactory(name, ….)
> _______________________________________________
> aerogear-dev mailing list
> aerogear-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-dev
-- qmx
More information about the aerogear-dev
mailing list