...
One of the overloaded member functions has a trailing parameter of type Ice::Context
. 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. (The parameter is also used by IceStorm.)
Ztop |
---|
Interface Inheritance
Inheritance relationships among Slice interfaces are maintained in the generated C++ classes. For example:
Code Block | ||||
---|---|---|---|---|
| ||||
module M
{
interface A { ... }
interface B { ... }
interface C extends A, B { ... }
} |
The generated code for C
reflects the inheritance hierarchy:
Code Block | ||||
---|---|---|---|---|
| ||||
namespace IceProxy
{
namespace M
{
class C : public virtual A, public virtual B
{
...
};
}
} |
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 Handles
Client-side application code never manipulates proxy class instances directly. In fact, you are not allowed to instantiate a proxy class directly. The following code will not compile because the proxy class does not provide a public default constructor:
...