custom xmlrpc marshallers
- From: Alexander Larsson <alexl redhat com>
- To: "yarrr-list gnome org" <yarrr-list gnome org>
- Subject: custom xmlrpc marshallers
- Date: Thu, 17 Mar 2005 15:29:39 +0100
I added some highly magic code that lets you register marshallers and
demarshallers for custom type for the XmlRpcHandler.
Check out ActiveTopic for an example of how to use it. With that i can
just define xmlrpc handler methods like:
public Vector getLiveComment(ActiveTopic topic, int commentId) {
The conversion from the topic long id (which is passed as a string due
to 64bit ints parameters not being in xmlrpc) to the looked up
ActiveTopic is magically handled in the lower layers.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Alexander Larsson Red Hat, Inc
alexl redhat com alla lysator liu se
He's a benighted neurotic ex-con with a robot buddy named Sparky. She's a
strong-willed extravagent barmaid with the soul of a mighty warrior. They
fight crime!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]