...
Localtab Group |
---|
Localtab |
---|
| Code Block |
---|
| shared_ptr<PersonPrx> p = ...;
Address a = ...;
Ice::Context ctx;
ctx["write policy"] = "immediate";
p->setAddress(a, ctx);
|
|
Localtab |
---|
| Code Block |
---|
| PersonPrx p = ...;
Address a = ...;
Ice::Context ctx;
ctx["write policy"] = "immediate";
p->setAddress(a, ctx);
|
|
Localtab |
---|
| Code Block |
---|
| using System.Collections.Generic;
PersonPrx p = ...;
Address a = ...;
Dictionary<string, string> ctx = new Dictionary<string, string>();
ctx["write policy"] = "immediate";
p.setAddress(a, ctx);
|
|
Localtab |
---|
| Code Block |
---|
| PersonPrx p = ...;
Address a = ...;
java.util.Map<String, String> ctx = new java.util.HashMap<String, String>();
ctx.put("write policy", "immediate");
p.setAddress(a, ctx);
|
|
Localtab |
---|
| Code Block |
---|
| PersonPrx p = ...;
Address a = ...;
java.util.Map<String, String> ctx = new java.util.HashMap<String, String>();
ctx.put("write policy", "immediate");
p.setAddress(a, ctx);
|
|
Localtab |
---|
| Code Block |
---|
| person = ...;
addr = ...;
ctx = containers.Map('KeyType', 'char', 'ValueType', 'char');
ctx('write policy') = 'immediate';
person.setAddress(addr, ctx); |
|
|
On the server side, we can extract the policy value set from the Current
object to influence how the implementation of setAddress
works. For example:
...