Poco::RemotingNG

class ScopedContext

File Information

Library: RemotingNG
Package: Transport
Header: Poco/RemotingNG/Context.h

Description

Helper class using RAII for Context setup and teardown.

Member Summary

Member Functions: context

Constructors

ScopedContext

ScopedContext();

Creates a Context object and registers it as the current thread's Context.

Destructor

~ScopedContext

~ScopedContext();

Destroys the Context object and removes it from the current thread.

Member Functions

context inline

Context::Ptr context() const;

Returns the Context object.