Allows the server side of a Win32 named pipe to impersonate the client. More...
#include <Win32NamedPipeServerTransport.hpp>
Public Member Functions | |
Win32NamedPipeImpersonator (RcfSession &session) | |
Impersonates the named pipe client associated with the RcfSession. Impersonation lasts until revertToSelf() is called, or the Win32NamedPipeImpersonator object is destroyed. More... | |
~Win32NamedPipeImpersonator () | |
Destroys the Win32NamedPipeImpersonator object, and ceases any impersonation. More... | |
void | revertToSelf () const |
Ceases impersonation of the named pipe client. More... | |
Allows the server side of a Win32 named pipe to impersonate the client.
RCF::Win32NamedPipeImpersonator::Win32NamedPipeImpersonator | ( | RcfSession & | session | ) |
Impersonates the named pipe client associated with the RcfSession. Impersonation lasts until revertToSelf() is called, or the Win32NamedPipeImpersonator object is destroyed.
RCF::Win32NamedPipeImpersonator::~Win32NamedPipeImpersonator | ( | ) |
Destroys the Win32NamedPipeImpersonator object, and ceases any impersonation.
void RCF::Win32NamedPipeImpersonator::revertToSelf | ( | ) | const |
Ceases impersonation of the named pipe client.