#include <Principal.h>
Public Types | |
| typedef Principal_ptr | _ptr_type |
| typedef Principal_var | _var_type |
Public Member Functions | |
| CORBA::ULong | _incr_refcnt (void) |
| CORBA::ULong | _decr_refcnt (void) |
| Principal (void) | |
Static Public Member Functions | |
| Principal * | _duplicate (Principal *) |
| Principal * | _nil (void) |
Public Attributes | |
| CORBA::OctetSeq | id |
Protected Member Functions | |
| ~Principal (void) | |
| Destructor. | |
Private Member Functions | |
| Principal & | operator= (const CORBA::Principal_ptr &) |
| Principal (const CORBA::Principal_ptr &) | |
Private Attributes | |
| CORBA::ULong | refcount_ |
| Number of outstanding references to this object. | |
| TAO_SYNCH_MUTEX | refcount_mutex_ |
Identities are used to control acccess (authorization) as well as in audit trails (accountability).
|
|
|
|
|
|
|
|
|
|
|
Destructor. Protected destructor to enforce proper memory management through the reference counting mechanism. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Number of outstanding references to this object.
|
|
|
Protect the reference count, this is OK because we do no duplicates or releases on the critical path. |
1.3.9.1