TAO_PortableServer 4.0.0
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
TAO::Portable_Server::LifespanStrategyPersistent Class Reference

#include <LifespanStrategyPersistent.h>

Inheritance diagram for TAO::Portable_Server::LifespanStrategyPersistent:
Inheritance graph
[legend]
Collaboration diagram for TAO::Portable_Server::LifespanStrategyPersistent:
Collaboration graph
[legend]

Public Member Functions

 LifespanStrategyPersistent ()
 
void strategy_init (TAO_Root_POA *poa) override
 
void notify_startup () override
 
void notify_shutdown () override
 
char key_type () const
 
CORBA::Boolean is_persistent () const override
 Do we have set persistent or not,.
 
CORBA::ULong key_length () const override
 
void create_key (CORBA::Octet *buffer, CORBA::ULong &starting_at) override
 
bool validate (CORBA::Boolean is_persistent, const TAO::Portable_Server::Temporary_Creation_Time &creation_time) const override
 Validate whether this matches the set lifespan strategy.
 
void check_state () override
 Check the state of the POA.
 
bool use_imr () const override
 
CORBA::Object_ptr imr_key_to_object (const TAO::ObjectKey &key, const char *type_id) const override
 
- Public Member Functions inherited from TAO::Portable_Server::LifespanStrategy
 LifespanStrategy ()=default
 
virtual ~LifespanStrategy ()=default
 
virtual void strategy_cleanup ()
 
void create (const char *name, const TAO::ObjectKey &key)
 
bool validate (TAO::ObjectKey_var &key)
 
CORBA::ULong key_type_length () const
 

Private Attributes

bool use_imr_
 

Additional Inherited Members

- Protected Attributes inherited from TAO::Portable_Server::LifespanStrategy
TAO_Root_POApoa_ {}
 

Constructor & Destructor Documentation

◆ LifespanStrategyPersistent()

TAO::Portable_Server::LifespanStrategyPersistent::LifespanStrategyPersistent ( )

Member Function Documentation

◆ check_state()

void TAO::Portable_Server::LifespanStrategyPersistent::check_state ( )
overridevirtual

Check the state of the POA.

Implements TAO::Portable_Server::LifespanStrategy.

◆ create_key()

void TAO::Portable_Server::LifespanStrategyPersistent::create_key ( CORBA::Octet * buffer,
CORBA::ULong & starting_at )
overridevirtual

◆ imr_key_to_object()

CORBA::Object_ptr TAO::Portable_Server::LifespanStrategyPersistent::imr_key_to_object ( const TAO::ObjectKey & key,
const char * type_id ) const
overridevirtual

◆ is_persistent()

CORBA::Boolean TAO::Portable_Server::LifespanStrategyPersistent::is_persistent ( ) const
overridevirtual

Do we have set persistent or not,.

Implements TAO::Portable_Server::LifespanStrategy.

◆ key_length()

CORBA::ULong TAO::Portable_Server::LifespanStrategyPersistent::key_length ( ) const
overridevirtual

Returns the length of the key type

Implements TAO::Portable_Server::LifespanStrategy.

◆ key_type()

char TAO::Portable_Server::LifespanStrategyPersistent::key_type ( ) const

◆ notify_shutdown()

void TAO::Portable_Server::LifespanStrategyPersistent::notify_shutdown ( )
overridevirtual

◆ notify_startup()

void TAO::Portable_Server::LifespanStrategyPersistent::notify_startup ( )
overridevirtual

◆ strategy_init()

void TAO::Portable_Server::LifespanStrategyPersistent::strategy_init ( TAO_Root_POA * poa)
overridevirtual

◆ use_imr()

bool TAO::Portable_Server::LifespanStrategyPersistent::use_imr ( ) const
overridevirtual

◆ validate()

bool TAO::Portable_Server::LifespanStrategyPersistent::validate ( CORBA::Boolean is_persistent,
const TAO::Portable_Server::Temporary_Creation_Time & creation_time ) const
overridevirtual

Validate whether this matches the set lifespan strategy.

Implements TAO::Portable_Server::LifespanStrategy.

Member Data Documentation

◆ use_imr_

bool TAO::Portable_Server::LifespanStrategyPersistent::use_imr_
private

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