Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches
Ice::ImplicitContext Class Referencefinal

Represents the request context associated with a communicator. More...

#include <Ice/Ice.h>

Public Member Functions

void combine (const Context &context, Context &combined) const
 Combines this request context plus the specified request context.
bool containsKey (std::string_view key) const
 Checks if this key has an associated value in the request context.
std::string get (std::string_view key) const
 Gets the value associated with the specified key in the request context.
Context getContext () const
 Gets a copy of the request context maintained by this object.
std::string put (std::string key, std::string value)
 Creates or updates a key/value entry in the request context.
std::string remove (std::string_view key)
 Removes the entry for the specified key in the request context.
void setContext (Context newContext)
 Sets the request context.
void write (const Context &context, Ice::OutputStream *os) const
 Marshals this request context plus the specified request context.

Detailed Description

Represents the request context associated with a communicator.

When you make a remote invocation without an explicit request context parameter, Ice uses the per-proxy request context (if any) combined with the ImplicitContext associated with your communicator. The property Ice.ImplicitContext controls if your communicator has an associated implicit context, and when it does, whether this implicit context is per-thread or shared by all threads.

Definition at line 23 of file ImplicitContext.h.


The documentation for this class was generated from the following file: