Remote Call Framework 3.0
RCF::Win32NamedPipeImpersonator Class Reference

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...
 

Detailed Description

Allows the server side of a Win32 named pipe to impersonate the client.

Constructor & Destructor Documentation

◆ Win32NamedPipeImpersonator()

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.

◆ ~Win32NamedPipeImpersonator()

RCF::Win32NamedPipeImpersonator::~Win32NamedPipeImpersonator ( )

Destroys the Win32NamedPipeImpersonator object, and ceases any impersonation.

Member Function Documentation

◆ revertToSelf()

void RCF::Win32NamedPipeImpersonator::revertToSelf ( ) const

Ceases impersonation of the named pipe client.


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