Previous Table of Contents Next


21.4.1 Overview


   The PortableInterceptor::Current object (hereafter referred to as PICurrent) is a Current object that is used specifically by portable Interceptors to transfer thread context information to a request context. Portable Interceptors are not required to use PICurrent. But if information from a client’s thread context is required at an Interceptor’s interception points, then PICurrent can be used to propagate that information. PICurrent allows portable service code to be written regardless of an ORB’s threading model.

   On the client side, this information includes, but is not limited to, thread context information that shall be propagated to the server via a service context.

   On the server side, this information includes, but is not limited to, service context information received from the client which is propagated to the target’s thread context.