Hi all,
I am writing an object model for some XML based protocols I am
implementing in XPCOM.
One can be accessed via RPC style SOAP, another via standard encoded
strings, the last by standard XML messages. As there are many higher
level similarities I am looking to abstract each as much as possible.
One mechanism I'm looking at is to implement a new nsIChannel that
handles the specifics of each communication method, that wraps a lower
level nsIChannel (it may or may not be nsIHttpChannel). That way I have
a common way to read/write data for each.
There are however lots of holes in this concept, can someone explain the
theory behind the nsIChannel imp please? The netlib docs of this area
are "todo".
Should I be looking to do this or are there better mechanisms? Is there
a standard way of wrapping XML protocols on top of nsIChannel/SOAP
implementations?
Cheers,
N
_______________________________________________
Mozilla-netlib mailing list
Mozilla-netlib@mozilla.org
http://mail.mozilla.org/listinfo/mozilla-netlib