RTCORBA::ServerProtocolPolicy Interface Reference

import "RTCORBA.pidl";

Inheritance diagram for RTCORBA::ServerProtocolPolicy:

Inheritance graph
[legend]
Collaboration diagram for RTCORBA::ServerProtocolPolicy:

Collaboration graph
[legend]
List of all members.

Public Types

typedef ServerProtocolPolicy_ptr _ptr_type
typedef ServerProtocolPolicy_var _var_type

Public Member Functions

virtual::RTCORBA::ProtocolList * protocols ()=0 throw ( CORBA::SystemException )
virtual::CORBA::Policy_ptr copy ()=0 throw ( CORBA::SystemException )
virtual void destroy ()=0 throw ( CORBA::SystemException )
virtual CORBA::Boolean _is_a (const char *type_id)
virtual const char * _interface_repository_id (void) const
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr)

Static Public Member Functions

ServerProtocolPolicy_ptr _duplicate (ServerProtocolPolicy_ptr obj)
void _tao_release (ServerProtocolPolicy_ptr obj)
ServerProtocolPolicy_ptr _narrow (CORBA::Object_ptr obj)
ServerProtocolPolicy_ptr _unchecked_narrow (CORBA::Object_ptr obj)
ServerProtocolPolicy_ptr _nil (void)
void _tao_any_destructor (void *)

Public Attributes

readonly attribute ProtocolList protocols

Protected Member Functions

 ServerProtocolPolicy (void)
virtual ~ServerProtocolPolicy (void)

Private Member Functions

 ServerProtocolPolicy (const ServerProtocolPolicy &)
void operator= (const ServerProtocolPolicy &)

Member Typedef Documentation

typedef ServerProtocolPolicy_ptr RTCORBA::ServerProtocolPolicy::_ptr_type
 

Implements CORBA::Policy.

Definition at line 712 of file RTCORBAC.h.

typedef ServerProtocolPolicy_var RTCORBA::ServerProtocolPolicy::_var_type
 

Implements CORBA::Policy.

Definition at line 713 of file RTCORBAC.h.


Constructor & Destructor Documentation

RTCORBA::ServerProtocolPolicy::ServerProtocolPolicy void   )  [protected]
 

Definition at line 633 of file RTCORBAC.cpp.

00634 {}

RTCORBA::ServerProtocolPolicy::~ServerProtocolPolicy void   )  [protected, virtual]
 

Definition at line 636 of file RTCORBAC.cpp.

00637 {}

RTCORBA::ServerProtocolPolicy::ServerProtocolPolicy const ServerProtocolPolicy  )  [private]
 


Member Function Documentation

RTCORBA::ServerProtocolPolicy_ptr RTCORBA::ServerProtocolPolicy::_duplicate ServerProtocolPolicy_ptr  obj  )  [static]
 

Definition at line 670 of file RTCORBAC.cpp.

References CORBA::Object::_add_ref(), and RTCORBA::ServerProtocolPolicy_ptr.

Referenced by operator<<=().

00671 {
00672   if (! ::CORBA::is_nil (obj))
00673     {
00674       obj->_add_ref ();
00675     }
00676 
00677   return obj;
00678 }

const char * RTCORBA::ServerProtocolPolicy::_interface_repository_id void   )  const [virtual]
 

Implements CORBA::Policy.

Definition at line 719 of file RTCORBAC.cpp.

00720 {
00721   return "IDL:omg.org/RTCORBA/ServerProtocolPolicy:1.0";
00722 }

CORBA::Boolean RTCORBA::ServerProtocolPolicy::_is_a const char *  type_id  )  [virtual]
 

Implements CORBA::Policy.

Definition at line 687 of file RTCORBAC.cpp.

References ACE_OS::strcmp().

00691 {
00692   if (
00693       !ACE_OS::strcmp (
00694           value,
00695           "IDL:omg.org/CORBA/Policy:1.0"
00696         ) ||
00697       !ACE_OS::strcmp (
00698           value,
00699           "IDL:omg.org/RTCORBA/ServerProtocolPolicy:1.0"
00700         ) ||
00701       !ACE_OS::strcmp (
00702           value,
00703           "IDL:omg.org/CORBA/LocalObject:1.0"
00704         ) ||
00705       !ACE_OS::strcmp (
00706           value,
00707           "IDL:omg.org/CORBA/Object:1.0"
00708         )
00709     )
00710     {
00711       return true; // success using local knowledge
00712     }
00713   else
00714     {
00715       return false;
00716     }
00717 }

RTCORBA::ServerProtocolPolicy_ptr RTCORBA::ServerProtocolPolicy::_narrow CORBA::Object_ptr  obj  )  [static]
 

Implements CORBA::Policy.

Definition at line 648 of file RTCORBAC.cpp.

Referenced by TAO_RT_Protocols_Hooks::server_protocol_properties().

00652 {
00653   return ServerProtocolPolicy::_duplicate (
00654       dynamic_cast<ServerProtocolPolicy_ptr> (_tao_objref)
00655     );
00656 }

ServerProtocolPolicy_ptr RTCORBA::ServerProtocolPolicy::_nil void   )  [inline, static]
 

Implements CORBA::Policy.

Definition at line 730 of file RTCORBAC.h.

References RTCORBA::ServerProtocolPolicy_ptr.

00731     {
00732       return static_cast<ServerProtocolPolicy_ptr> (0);
00733     }

void RTCORBA::ServerProtocolPolicy::_tao_any_destructor void *   )  [static]
 

Implements CORBA::Policy.

Definition at line 640 of file RTCORBAC.cpp.

00641 {
00642   ServerProtocolPolicy *_tao_tmp_pointer =
00643     static_cast<ServerProtocolPolicy *> (_tao_void_pointer);
00644   ::CORBA::release (_tao_tmp_pointer);
00645 }

void RTCORBA::ServerProtocolPolicy::_tao_release ServerProtocolPolicy_ptr  obj  )  [static]
 

Definition at line 681 of file RTCORBAC.cpp.

References RTCORBA::ServerProtocolPolicy_ptr.

00682 {
00683   ::CORBA::release (obj);
00684 }

RTCORBA::ServerProtocolPolicy_ptr RTCORBA::ServerProtocolPolicy::_unchecked_narrow CORBA::Object_ptr  obj  )  [static]
 

Implements CORBA::Policy.

Definition at line 659 of file RTCORBAC.cpp.

00663 {
00664   return ServerProtocolPolicy::_duplicate (
00665       dynamic_cast<ServerProtocolPolicy_ptr> (_tao_objref)
00666     );
00667 }

virtual ::CORBA::Policy_ptr RTCORBA::ServerProtocolPolicy::copy  )  throw ( CORBA::SystemException ) [pure virtual]
 

Implements CORBA::Policy.

Implemented in TAO_ServerProtocolPolicy.

virtual void RTCORBA::ServerProtocolPolicy::destroy  )  throw ( CORBA::SystemException ) [pure virtual]
 

Implements CORBA::Policy.

Implemented in TAO_ServerProtocolPolicy.

CORBA::Boolean RTCORBA::ServerProtocolPolicy::marshal TAO_OutputCDR cdr  )  [virtual]
 

Implements CORBA::Policy.

Definition at line 725 of file RTCORBAC.cpp.

00726 {
00727   return false;
00728 }

void RTCORBA::ServerProtocolPolicy::operator= const ServerProtocolPolicy  )  [private]
 

virtual ::RTCORBA::ProtocolList* RTCORBA::ServerProtocolPolicy::protocols  )  throw ( CORBA::SystemException ) [pure virtual]
 

Implemented in TAO_ServerProtocolPolicy.


Member Data Documentation

readonly attribute ProtocolList RTCORBA::ServerProtocolPolicy::protocols
 

Definition at line 127 of file RTCORBA.pidl.


The documentation for this interface was generated from the following files:
Generated on Thu Nov 9 13:00:25 2006 for TAO_RTCORBA by doxygen 1.3.6