> I have a question in regard to the section "Methods and overloading" as e.g.
> described in
> 
> http://www.caucho.com/resin-3.0/protocols/hessian-1.0-
> spec.xtp#Methods-and-Overloading
> 
> (The description does not differ for the 2.0 version).
> 
> In particular I would be interested to know how the name should be created,
> if there
> exists arrays as arguments, e.g. consider the variant of the example
> 
> add(shopping.Cart[] cart, shopping.Item item)
> 
> where the first argument type is an array of shopping.Cart: How should the
> mangled name be for this example?

Just for the record: I couldn't find any official documentation, but according 
to the
implementation of AbstractSkeleton. mangleClass the mangled name would be

add_[shopping.Cart_shopping.Item

Another related question is: Even though the documentation implies that
complete package names shall be provided for this form of mangling (like
shopping.Item), I'm interpreting the usage of AbstractSkeleton.mangleName
that it is always called with the function parameter " isFull" equal to false,
with the effect of shortening this to

add_[Cart_ Item

Can someone confirm these assumptions?

Thanks & Greetings from Bremen,

Daniel Krügler




_______________________________________________
hessian-interest mailing list
hessian-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/hessian-interest

Reply via email to