Archived
This forum has been archived. Please start a new discussion on GitHub.
question about the document
I'm reading Ice document pdf v1.5.1
At Page 180, in the top lines, end of the 1st item, said "You can pass a proxy for the class-- see Section 6.14.5"
but in 6.14.1, it is said that" vice vesa, because the base types for classes and proxies are not compatible"
I'm confused...
At Page 180, in the top lines, end of the 1st item, said "You can pass a proxy for the class-- see Section 6.14.5"
but in 6.14.1, it is said that" vice vesa, because the base types for classes and proxies are not compatible"
I'm confused...
0
Comments
-
Hi,
The point the book is making is that classes and proxies are not interchangeable. If the Slice definition of an operation takes a class parameter, then you cannot pass a proxy instead. Likewise, if the operation takes a proxy parameter, then you cannot pass a class instead.
On page 180, the book says that you can create a proxy for a class. This is accomplished using an object adapter.
Take care,
- Mark0