Public Member Functions

TAO::Portable_Server::IdAssignmentStrategy Class Reference

#include <IdAssignmentStrategy.h>

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

List of all members.

Public Member Functions

virtual void strategy_init (TAO_Root_POA *poa)
virtual void strategy_cleanup (void)
virtual char id_assignment_key_type (void) const =0
char key_type_length (void) const
void create_key (CORBA::Octet *buffer, CORBA::ULong &starting_at)
virtual bool has_system_id (void) const =0

Detailed Description

Definition at line 31 of file IdAssignmentStrategy.h.


Member Function Documentation

void TAO::Portable_Server::IdAssignmentStrategy::create_key ( CORBA::Octet buffer,
CORBA::ULong starting_at 
)

Definition at line 33 of file IdAssignmentStrategy.cpp.

    {
      // Copy the system id byte.
      buffer[starting_at] = (CORBA::Octet) this->id_assignment_key_type ();
      starting_at += this->key_type_length ();
    }

virtual bool TAO::Portable_Server::IdAssignmentStrategy::has_system_id ( void   )  const [pure virtual]
virtual char TAO::Portable_Server::IdAssignmentStrategy::id_assignment_key_type ( void   )  const [pure virtual]

Returns the key type the says which specific policy we have

Implemented in TAO::Portable_Server::IdAssignmentStrategySystem, and TAO::Portable_Server::IdAssignmentStrategyUser.

char TAO::Portable_Server::IdAssignmentStrategy::key_type_length ( void   )  const

Returns the length of the id_assignment type

Definition at line 27 of file IdAssignmentStrategy.cpp.

    {
      return sizeof (char);
    }

void TAO::Portable_Server::IdAssignmentStrategy::strategy_cleanup ( void   )  [virtual]

Implements TAO::Portable_Server::Policy_Strategy.

Definition at line 22 of file IdAssignmentStrategy.cpp.

    {
    }

void TAO::Portable_Server::IdAssignmentStrategy::strategy_init ( TAO_Root_POA poa  )  [virtual]

Implements TAO::Portable_Server::Policy_Strategy.

Definition at line 17 of file IdAssignmentStrategy.cpp.

    {
    }


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines