...
The second method has a trailing parameter of type ICEContext
. This parameter is for use by the Ice run time to store information about how to deliver a request; normally, you do not need to supply a value here and can pretend that the trailing parameter does not exist. (We examine the ICEContext
parameter in detail in Request Contexts. The parameter is also used by IceStorm.)
Ztop |
---|
Interface Inheritance in Objective-C
Inheritance relationships among Slice interfaces are maintained in the generated Objective-C code. For example:
Code Block | ||||
---|---|---|---|---|
| ||||
["objc:prefix:EX"]
module Example
{
interface A { ... }
interface B { ... }
interface C extends A, B { ... }
} |
The generated code reflects the inheritance hierarchy:
Code Block | ||||
---|---|---|---|---|
| ||||
@interface EXCPrx : ICEObjectPrx <EXCPrx>
...
@end
@protocol EXCPrx <EXAPrx, EXBPrx>
@end |
Given a proxy for C
, a client can invoke any operation defined for interface C
, as well as any operation inherited from C
's base interfaces.
Ztop |
---|
Proxy Instantiation and Casting in Objective-C
...