|
| virtual bool | containsKey (const ::std::string &key) const =0 |
| | Check if this key has an associated value in the underlying context.
|
| virtual::std::string | get (const ::std::string &key) const =0 |
| | Get the value associated with the given key in the underlying context.
|
| virtual::Ice::Context | getContext () const =0 |
| | Get a copy of the underlying context.
|
| virtual::std::string | put (const ::std::string &key, const ::std::string &value)=0 |
| | Create or update a key/value entry in the underlying context.
|
| virtual::std::string | remove (const ::std::string &key)=0 |
| | Remove the entry for the given key in the underlying context.
|
| virtual void | setContext (const Context &newContext)=0 |
| | Set the underlying context.
|
| virtual | ~ImplicitContext () |
An interface to associate implict contexts with communicators.
When you make a remote invocation without an explicit context parameter, Ice uses the per-proxy context (if any) combined with the ImplicitContext associated with the communicator.
Ice provides several implementations of ImplicitContext. The implementation used depends on the value of the Ice.ImplicitContext property.
None (default)
- No implicit context at all.
PerThread
- The implementation maintains a context per thread.
Shared
- The implementation maintains a single context shared by all threads.
ImplicitContext also provides a number of operations to create, update or retrieve an entry in the underlying context without first retrieving a copy of the entire context. These operations correspond to a subset of the java.util.Map methods, with java.lang.Object replaced by string and null replaced by the empty-string.