// -*- C++ -*-
//
// $Id$

// ****  Code generated by the The ACE ORB (TAO) IDL Compiler ****
// TAO and the TAO IDL Compiler have been developed by:
//       Center for Distributed Object Computing
//       Washington University
//       St. Louis, MO
//       USA
//       http://www.cs.wustl.edu/~schmidt/doc-center.html
// and
//       Distributed Object Computing Laboratory
//       University of California at Irvine
//       Irvine, CA
//       USA
//       http://doc.ece.uci.edu/
// and
//       Institute for Software Integrated Systems
//       Vanderbilt University
//       Nashville, TN
//       USA
//       http://www.isis.vanderbilt.edu/
//
// Information about TAO is available at:
//     http://www.cs.wustl.edu/~schmidt/TAO.html

// TAO_IDL - Generated from
// be/be_codegen.cpp:303


#include "CosNotifyChannelAdminC.h"
#include "tao/CDR.h"
#include "tao/Exception_Data.h"
#include "tao/Invocation_Adapter.h"
#include "tao/Object_T.h"
#include "tao/Typecode.h"
#include "tao/Any_Impl_T.h"
#include "tao/Any_Dual_Impl_T.h"
#include "tao/Any_Basic_Impl_T.h"
#include "tao/Basic_Arguments.h"
#include "tao/Object_Argument_T.h"
#include "tao/Special_Basic_Arguments.h"
#include "tao/UB_String_Arguments.h"
#include "tao/Var_Size_Argument_T.h"
#include "ace/OS_NS_string.h"

#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */

#if !defined (__ACE_INLINE__)
#include "CosNotifyChannelAdminC.inl"
#endif /* !defined __ACE_INLINE__ */

// TAO_IDL - Generated from
// be/be_visitor_arg_traits.cpp:64

// Arg traits specializations.
namespace TAO
{
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:582

#if !defined (_CORBA_ANY__ARG_TRAITS_CS_)
#define _CORBA_ANY__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CORBA::Any>
    : public
        Var_Size_Arg_Traits_T<
            CORBA::Any,
            CORBA::Any_var,
            CORBA::Any_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFICATION_PROPERTYSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFICATION_PROPERTYSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotification::PropertySeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotification::PropertySeq,
            CosNotification::PropertySeq_var,
            CosNotification::PropertySeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFICATION_EVENTTYPESEQ__ARG_TRAITS_CS_)
#define _COSNOTIFICATION_EVENTTYPESEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotification::EventTypeSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotification::EventTypeSeq,
            CosNotification::EventTypeSeq_var,
            CosNotification::EventTypeSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFICATION_NAMEDPROPERTYRANGESEQ__ARG_TRAITS_CS_)
#define _COSNOTIFICATION_NAMEDPROPERTYRANGESEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotification::NamedPropertyRangeSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotification::NamedPropertyRangeSeq,
            CosNotification::NamedPropertyRangeSeq_var,
            CosNotification::NamedPropertyRangeSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:618

#if !defined (_COSNOTIFICATION_STRUCTUREDEVENT__ARG_TRAITS_CS_)
#define _COSNOTIFICATION_STRUCTUREDEVENT__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotification::StructuredEvent>
    : public
        Var_Size_Arg_Traits_T<
            CosNotification::StructuredEvent,
            CosNotification::StructuredEvent_var,
            CosNotification::StructuredEvent_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFICATION_EVENTBATCH__ARG_TRAITS_CS_)
#define _COSNOTIFICATION_EVENTBATCH__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotification::EventBatch>
    : public
        Var_Size_Arg_Traits_T<
            CosNotification::EventBatch,
            CosNotification::EventBatch_var,
            CosNotification::EventBatch_out
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSEVENTCOMM_PUSHCONSUMER__ARG_TRAITS_CS_)
#define _COSEVENTCOMM_PUSHCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosEventComm::PushConsumer>
    : public
        Object_Arg_Traits_T<
            CosEventComm::PushConsumer_ptr,
            CosEventComm::PushConsumer_var,
            CosEventComm::PushConsumer_out,
            TAO::Objref_Traits<CosEventComm::PushConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSEVENTCOMM_PUSHSUPPLIER__ARG_TRAITS_CS_)
#define _COSEVENTCOMM_PUSHSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosEventComm::PushSupplier>
    : public
        Object_Arg_Traits_T<
            CosEventComm::PushSupplier_ptr,
            CosEventComm::PushSupplier_var,
            CosEventComm::PushSupplier_out,
            TAO::Objref_Traits<CosEventComm::PushSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSEVENTCOMM_PULLCONSUMER__ARG_TRAITS_CS_)
#define _COSEVENTCOMM_PULLCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosEventComm::PullConsumer>
    : public
        Object_Arg_Traits_T<
            CosEventComm::PullConsumer_ptr,
            CosEventComm::PullConsumer_var,
            CosEventComm::PullConsumer_out,
            TAO::Objref_Traits<CosEventComm::PullConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSEVENTCOMM_PULLSUPPLIER__ARG_TRAITS_CS_)
#define _COSEVENTCOMM_PULLSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosEventComm::PullSupplier>
    : public
        Object_Arg_Traits_T<
            CosEventComm::PullSupplier_ptr,
            CosEventComm::PullSupplier_var,
            CosEventComm::PullSupplier_out,
            TAO::Objref_Traits<CosEventComm::PullSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_NOTIFYSUBSCRIBE__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_NOTIFYSUBSCRIBE__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::NotifySubscribe>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::NotifySubscribe_ptr,
            CosNotifyComm::NotifySubscribe_var,
            CosNotifyComm::NotifySubscribe_out,
            TAO::Objref_Traits<CosNotifyComm::NotifySubscribe>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_STRUCTUREDPUSHCONSUMER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_STRUCTUREDPUSHCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::StructuredPushConsumer>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::StructuredPushConsumer_ptr,
            CosNotifyComm::StructuredPushConsumer_var,
            CosNotifyComm::StructuredPushConsumer_out,
            TAO::Objref_Traits<CosNotifyComm::StructuredPushConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_STRUCTUREDPULLCONSUMER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_STRUCTUREDPULLCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::StructuredPullConsumer>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::StructuredPullConsumer_ptr,
            CosNotifyComm::StructuredPullConsumer_var,
            CosNotifyComm::StructuredPullConsumer_out,
            TAO::Objref_Traits<CosNotifyComm::StructuredPullConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_STRUCTUREDPULLSUPPLIER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_STRUCTUREDPULLSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::StructuredPullSupplier>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::StructuredPullSupplier_ptr,
            CosNotifyComm::StructuredPullSupplier_var,
            CosNotifyComm::StructuredPullSupplier_out,
            TAO::Objref_Traits<CosNotifyComm::StructuredPullSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_STRUCTUREDPUSHSUPPLIER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_STRUCTUREDPUSHSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::StructuredPushSupplier>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::StructuredPushSupplier_ptr,
            CosNotifyComm::StructuredPushSupplier_var,
            CosNotifyComm::StructuredPushSupplier_out,
            TAO::Objref_Traits<CosNotifyComm::StructuredPushSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_SEQUENCEPUSHCONSUMER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_SEQUENCEPUSHCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::SequencePushConsumer>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::SequencePushConsumer_ptr,
            CosNotifyComm::SequencePushConsumer_var,
            CosNotifyComm::SequencePushConsumer_out,
            TAO::Objref_Traits<CosNotifyComm::SequencePushConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_SEQUENCEPULLCONSUMER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_SEQUENCEPULLCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::SequencePullConsumer>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::SequencePullConsumer_ptr,
            CosNotifyComm::SequencePullConsumer_var,
            CosNotifyComm::SequencePullConsumer_out,
            TAO::Objref_Traits<CosNotifyComm::SequencePullConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_SEQUENCEPULLSUPPLIER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_SEQUENCEPULLSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::SequencePullSupplier>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::SequencePullSupplier_ptr,
            CosNotifyComm::SequencePullSupplier_var,
            CosNotifyComm::SequencePullSupplier_out,
            TAO::Objref_Traits<CosNotifyComm::SequencePullSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCOMM_SEQUENCEPUSHSUPPLIER__ARG_TRAITS_CS_)
#define _COSNOTIFYCOMM_SEQUENCEPUSHSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyComm::SequencePushSupplier>
    : public
        Object_Arg_Traits_T<
            CosNotifyComm::SequencePushSupplier_ptr,
            CosNotifyComm::SequencePushSupplier_var,
            CosNotifyComm::SequencePushSupplier_out,
            TAO::Objref_Traits<CosNotifyComm::SequencePushSupplier>
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_CONSTRAINTIDSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_CONSTRAINTIDSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::ConstraintIDSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::ConstraintIDSeq,
            CosNotifyFilter::ConstraintIDSeq_var,
            CosNotifyFilter::ConstraintIDSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_CONSTRAINTEXPSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_CONSTRAINTEXPSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::ConstraintExpSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::ConstraintExpSeq,
            CosNotifyFilter::ConstraintExpSeq_var,
            CosNotifyFilter::ConstraintExpSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_CONSTRAINTINFOSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_CONSTRAINTINFOSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::ConstraintInfoSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::ConstraintInfoSeq,
            CosNotifyFilter::ConstraintInfoSeq_var,
            CosNotifyFilter::ConstraintInfoSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_MAPPINGCONSTRAINTPAIRSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_MAPPINGCONSTRAINTPAIRSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::MappingConstraintPairSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::MappingConstraintPairSeq,
            CosNotifyFilter::MappingConstraintPairSeq_var,
            CosNotifyFilter::MappingConstraintPairSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYFILTER_MAPPINGCONSTRAINTINFOSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_MAPPINGCONSTRAINTINFOSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::MappingConstraintInfoSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyFilter::MappingConstraintInfoSeq,
            CosNotifyFilter::MappingConstraintInfoSeq_var,
            CosNotifyFilter::MappingConstraintInfoSeq_out
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYFILTER_FILTER__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_FILTER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::Filter>
    : public
        Object_Arg_Traits_T<
            CosNotifyFilter::Filter_ptr,
            CosNotifyFilter::Filter_var,
            CosNotifyFilter::Filter_out,
            TAO::Objref_Traits<CosNotifyFilter::Filter>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYFILTER_MAPPINGFILTER__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_MAPPINGFILTER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::MappingFilter>
    : public
        Object_Arg_Traits_T<
            CosNotifyFilter::MappingFilter_ptr,
            CosNotifyFilter::MappingFilter_var,
            CosNotifyFilter::MappingFilter_out,
            TAO::Objref_Traits<CosNotifyFilter::MappingFilter>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYFILTER_FILTERFACTORY__ARG_TRAITS_CS_)
#define _COSNOTIFYFILTER_FILTERFACTORY__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyFilter::FilterFactory>
    : public
        Object_Arg_Traits_T<
            CosNotifyFilter::FilterFactory_ptr,
            CosNotifyFilter::FilterFactory_var,
            CosNotifyFilter::FilterFactory_out,
            TAO::Objref_Traits<CosNotifyFilter::FilterFactory>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCHANNELADMIN_CONSUMERADMIN__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_CONSUMERADMIN__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::ConsumerAdmin>
    : public
        Object_Arg_Traits_T<
            CosNotifyChannelAdmin::ConsumerAdmin_ptr,
            CosNotifyChannelAdmin::ConsumerAdmin_var,
            CosNotifyChannelAdmin::ConsumerAdmin_out,
            TAO::Objref_Traits<CosNotifyChannelAdmin::ConsumerAdmin>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCHANNELADMIN_SUPPLIERADMIN__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_SUPPLIERADMIN__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::SupplierAdmin>
    : public
        Object_Arg_Traits_T<
            CosNotifyChannelAdmin::SupplierAdmin_ptr,
            CosNotifyChannelAdmin::SupplierAdmin_var,
            CosNotifyChannelAdmin::SupplierAdmin_out,
            TAO::Objref_Traits<CosNotifyChannelAdmin::SupplierAdmin>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCHANNELADMIN_EVENTCHANNEL__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_EVENTCHANNEL__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::EventChannel>
    : public
        Object_Arg_Traits_T<
            CosNotifyChannelAdmin::EventChannel_ptr,
            CosNotifyChannelAdmin::EventChannel_var,
            CosNotifyChannelAdmin::EventChannel_out,
            TAO::Objref_Traits<CosNotifyChannelAdmin::EventChannel>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCHANNELADMIN_EVENTCHANNELFACTORY__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_EVENTCHANNELFACTORY__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::EventChannelFactory>
    : public
        Object_Arg_Traits_T<
            CosNotifyChannelAdmin::EventChannelFactory_ptr,
            CosNotifyChannelAdmin::EventChannelFactory_var,
            CosNotifyChannelAdmin::EventChannelFactory_out,
            TAO::Objref_Traits<CosNotifyChannelAdmin::EventChannelFactory>
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:537

#if !defined (_COSNOTIFYCHANNELADMIN_PROXYTYPE__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_PROXYTYPE__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::ProxyType>
    : public
        Basic_Arg_Traits_T<
            CosNotifyChannelAdmin::ProxyType
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:537

#if !defined (_COSNOTIFYCHANNELADMIN_OBTAININFOMODE__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_OBTAININFOMODE__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::ObtainInfoMode>
    : public
        Basic_Arg_Traits_T<
            CosNotifyChannelAdmin::ObtainInfoMode
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCHANNELADMIN_PROXYCONSUMER__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_PROXYCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::ProxyConsumer>
    : public
        Object_Arg_Traits_T<
            CosNotifyChannelAdmin::ProxyConsumer_ptr,
            CosNotifyChannelAdmin::ProxyConsumer_var,
            CosNotifyChannelAdmin::ProxyConsumer_out,
            TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_COSNOTIFYCHANNELADMIN_PROXYSUPPLIER__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_PROXYSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::ProxySupplier>
    : public
        Object_Arg_Traits_T<
            CosNotifyChannelAdmin::ProxySupplier_ptr,
            CosNotifyChannelAdmin::ProxySupplier_var,
            CosNotifyChannelAdmin::ProxySupplier_out,
            TAO::Objref_Traits<CosNotifyChannelAdmin::ProxySupplier>
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYCHANNELADMIN_PROXYIDSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_PROXYIDSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::ProxyIDSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyChannelAdmin::ProxyIDSeq,
            CosNotifyChannelAdmin::ProxyIDSeq_var,
            CosNotifyChannelAdmin::ProxyIDSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:537

#if !defined (_COSNOTIFYCHANNELADMIN_CLIENTTYPE__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_CLIENTTYPE__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::ClientType>
    : public
        Basic_Arg_Traits_T<
            CosNotifyChannelAdmin::ClientType
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:537

#if !defined (_COSNOTIFYCHANNELADMIN_INTERFILTERGROUPOPERATOR__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_INTERFILTERGROUPOPERATOR__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::InterFilterGroupOperator>
    : public
        Basic_Arg_Traits_T<
            CosNotifyChannelAdmin::InterFilterGroupOperator
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYCHANNELADMIN_ADMINIDSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_ADMINIDSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::AdminIDSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyChannelAdmin::AdminIDSeq,
            CosNotifyChannelAdmin::AdminIDSeq_var,
            CosNotifyChannelAdmin::AdminIDSeq_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_COSNOTIFYCHANNELADMIN_CHANNELIDSEQ__ARG_TRAITS_CS_)
#define _COSNOTIFYCHANNELADMIN_CHANNELIDSEQ__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_Event_Export Arg_Traits<CosNotifyChannelAdmin::ChannelIDSeq>
    : public
        Var_Size_Arg_Traits_T<
            CosNotifyChannelAdmin::ChannelIDSeq,
            CosNotifyChannelAdmin::ChannelIDSeq_var,
            CosNotifyChannelAdmin::ChannelIDSeq_out
          >
  {
  };

#endif /* end #if !defined */
}


// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyChannelAdmin::ConnectionAlreadyActive::ConnectionAlreadyActive (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyActive:1.0",
        "ConnectionAlreadyActive"
      )
{
}

CosNotifyChannelAdmin::ConnectionAlreadyActive::~ConnectionAlreadyActive (void)
{
}

CosNotifyChannelAdmin::ConnectionAlreadyActive::ConnectionAlreadyActive (const ::CosNotifyChannelAdmin::ConnectionAlreadyActive &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

CosNotifyChannelAdmin::ConnectionAlreadyActive&
CosNotifyChannelAdmin::ConnectionAlreadyActive::operator= (const ::CosNotifyChannelAdmin::ConnectionAlreadyActive &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void CosNotifyChannelAdmin::ConnectionAlreadyActive::_tao_any_destructor (void *_tao_void_pointer)
{
  ConnectionAlreadyActive *_tao_tmp_pointer =
    static_cast<ConnectionAlreadyActive*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyChannelAdmin::ConnectionAlreadyActive *
CosNotifyChannelAdmin::ConnectionAlreadyActive::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyActive:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<ConnectionAlreadyActive *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyChannelAdmin::ConnectionAlreadyActive::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyChannelAdmin::ConnectionAlreadyActive, 0);
  return retval;
}

CORBA::Exception *
CosNotifyChannelAdmin::ConnectionAlreadyActive::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyChannelAdmin::ConnectionAlreadyActive (*this),
      0
    );
  return result;
}

void CosNotifyChannelAdmin::ConnectionAlreadyActive::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyChannelAdmin::ConnectionAlreadyActive::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyChannelAdmin::ConnectionAlreadyActive::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyChannelAdmin::ConnectionAlreadyActive::_type (void) const
{
  return ::CosNotifyChannelAdmin::_tc_ConnectionAlreadyActive;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ConnectionAlreadyActive[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  62,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f436f), 
  ACE_NTOHL (0x6e6e6563), 
  ACE_NTOHL (0x74696f6e), 
  ACE_NTOHL (0x416c7265), 
  ACE_NTOHL (0x61647941), 
  ACE_NTOHL (0x63746976), 
  ACE_NTOHL (0x653a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyActive:1.0
    24,
  ACE_NTOHL (0x436f6e6e), 
  ACE_NTOHL (0x65637469), 
  ACE_NTOHL (0x6f6e416c), 
  ACE_NTOHL (0x72656164), 
  ACE_NTOHL (0x79416374), 
  ACE_NTOHL (0x69766500),  // name = ConnectionAlreadyActive
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ConnectionAlreadyActive (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyChannelAdmin_ConnectionAlreadyActive),
    (char *) &_oc_CosNotifyChannelAdmin_ConnectionAlreadyActive,
    0,
    sizeof (CosNotifyChannelAdmin::ConnectionAlreadyActive)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ConnectionAlreadyActive =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ConnectionAlreadyActive;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyChannelAdmin::ConnectionAlreadyInactive::ConnectionAlreadyInactive (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyInactive:1.0",
        "ConnectionAlreadyInactive"
      )
{
}

CosNotifyChannelAdmin::ConnectionAlreadyInactive::~ConnectionAlreadyInactive (void)
{
}

CosNotifyChannelAdmin::ConnectionAlreadyInactive::ConnectionAlreadyInactive (const ::CosNotifyChannelAdmin::ConnectionAlreadyInactive &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

CosNotifyChannelAdmin::ConnectionAlreadyInactive&
CosNotifyChannelAdmin::ConnectionAlreadyInactive::operator= (const ::CosNotifyChannelAdmin::ConnectionAlreadyInactive &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void CosNotifyChannelAdmin::ConnectionAlreadyInactive::_tao_any_destructor (void *_tao_void_pointer)
{
  ConnectionAlreadyInactive *_tao_tmp_pointer =
    static_cast<ConnectionAlreadyInactive*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyChannelAdmin::ConnectionAlreadyInactive *
CosNotifyChannelAdmin::ConnectionAlreadyInactive::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyInactive:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<ConnectionAlreadyInactive *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyChannelAdmin::ConnectionAlreadyInactive::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyChannelAdmin::ConnectionAlreadyInactive, 0);
  return retval;
}

CORBA::Exception *
CosNotifyChannelAdmin::ConnectionAlreadyInactive::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyChannelAdmin::ConnectionAlreadyInactive (*this),
      0
    );
  return result;
}

void CosNotifyChannelAdmin::ConnectionAlreadyInactive::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyChannelAdmin::ConnectionAlreadyInactive::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyChannelAdmin::ConnectionAlreadyInactive::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyChannelAdmin::ConnectionAlreadyInactive::_type (void) const
{
  return ::CosNotifyChannelAdmin::_tc_ConnectionAlreadyInactive;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ConnectionAlreadyInactive[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  64,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f436f), 
  ACE_NTOHL (0x6e6e6563), 
  ACE_NTOHL (0x74696f6e), 
  ACE_NTOHL (0x416c7265), 
  ACE_NTOHL (0x61647949), 
  ACE_NTOHL (0x6e616374), 
  ACE_NTOHL (0x6976653a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyInactive:1.0
    26,
  ACE_NTOHL (0x436f6e6e), 
  ACE_NTOHL (0x65637469), 
  ACE_NTOHL (0x6f6e416c), 
  ACE_NTOHL (0x72656164), 
  ACE_NTOHL (0x79496e61), 
  ACE_NTOHL (0x63746976), 
  ACE_NTOHL (0x65000000),  // name = ConnectionAlreadyInactive
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ConnectionAlreadyInactive (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyChannelAdmin_ConnectionAlreadyInactive),
    (char *) &_oc_CosNotifyChannelAdmin_ConnectionAlreadyInactive,
    0,
    sizeof (CosNotifyChannelAdmin::ConnectionAlreadyInactive)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ConnectionAlreadyInactive =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ConnectionAlreadyInactive;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyChannelAdmin::NotConnected::NotConnected (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        "NotConnected"
      )
{
}

CosNotifyChannelAdmin::NotConnected::~NotConnected (void)
{
}

CosNotifyChannelAdmin::NotConnected::NotConnected (const ::CosNotifyChannelAdmin::NotConnected &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

CosNotifyChannelAdmin::NotConnected&
CosNotifyChannelAdmin::NotConnected::operator= (const ::CosNotifyChannelAdmin::NotConnected &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void CosNotifyChannelAdmin::NotConnected::_tao_any_destructor (void *_tao_void_pointer)
{
  NotConnected *_tao_tmp_pointer =
    static_cast<NotConnected*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyChannelAdmin::NotConnected *
CosNotifyChannelAdmin::NotConnected::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<NotConnected *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyChannelAdmin::NotConnected::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyChannelAdmin::NotConnected, 0);
  return retval;
}

CORBA::Exception *
CosNotifyChannelAdmin::NotConnected::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyChannelAdmin::NotConnected (*this),
      0
    );
  return result;
}

void CosNotifyChannelAdmin::NotConnected::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyChannelAdmin::NotConnected::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyChannelAdmin::NotConnected::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyChannelAdmin::NotConnected::_type (void) const
{
  return ::CosNotifyChannelAdmin::_tc_NotConnected;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_NotConnected[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  51,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4e6f), 
  ACE_NTOHL (0x74436f6e), 
  ACE_NTOHL (0x6e656374), 
  ACE_NTOHL (0x65643a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0
    13,
  ACE_NTOHL (0x4e6f7443), 
  ACE_NTOHL (0x6f6e6e65), 
  ACE_NTOHL (0x63746564), 
  ACE_NTOHL (0x0),  // name = NotConnected
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_NotConnected (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyChannelAdmin_NotConnected),
    (char *) &_oc_CosNotifyChannelAdmin_NotConnected,
    0,
    sizeof (CosNotifyChannelAdmin::NotConnected)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_NotConnected =
    &_tc_TAO_tc_CosNotifyChannelAdmin_NotConnected;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ProxyType[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  48,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787954), 
  ACE_NTOHL (0x7970653a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxyType:1.0
  10,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79547970), 
  ACE_NTOHL (0x65000000),  // name = ProxyType
  8, // member count
  9,
  ACE_NTOHL (0x50555348), 
  ACE_NTOHL (0x5f414e59), 
  ACE_NTOHL (0x0),  // name = PUSH_ANY
  9,
  ACE_NTOHL (0x50554c4c), 
  ACE_NTOHL (0x5f414e59), 
  ACE_NTOHL (0x0),  // name = PULL_ANY
  16,
  ACE_NTOHL (0x50555348), 
  ACE_NTOHL (0x5f535452), 
  ACE_NTOHL (0x55435455), 
  ACE_NTOHL (0x52454400),  // name = PUSH_STRUCTURED
  16,
  ACE_NTOHL (0x50554c4c), 
  ACE_NTOHL (0x5f535452), 
  ACE_NTOHL (0x55435455), 
  ACE_NTOHL (0x52454400),  // name = PULL_STRUCTURED
  14,
  ACE_NTOHL (0x50555348), 
  ACE_NTOHL (0x5f534551), 
  ACE_NTOHL (0x55454e43), 
  ACE_NTOHL (0x45000000),  // name = PUSH_SEQUENCE
  14,
  ACE_NTOHL (0x50554c4c), 
  ACE_NTOHL (0x5f534551), 
  ACE_NTOHL (0x55454e43), 
  ACE_NTOHL (0x45000000),  // name = PULL_SEQUENCE
  11,
  ACE_NTOHL (0x50555348), 
  ACE_NTOHL (0x5f545950), 
  ACE_NTOHL (0x45440000),  // name = PUSH_TYPED
  11,
  ACE_NTOHL (0x50554c4c), 
  ACE_NTOHL (0x5f545950), 
  ACE_NTOHL (0x45440000),  // name = PULL_TYPED
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ProxyType (
    CORBA::tk_enum,
    sizeof (_oc_CosNotifyChannelAdmin_ProxyType),
    (char *) &_oc_CosNotifyChannelAdmin_ProxyType,
    0,
    sizeof (CosNotifyChannelAdmin::ProxyType)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyType =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ProxyType;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ObtainInfoMode[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  53,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4f62), 
  ACE_NTOHL (0x7461696e), 
  ACE_NTOHL (0x496e666f), 
  ACE_NTOHL (0x4d6f6465), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ObtainInfoMode:1.0
  15,
  ACE_NTOHL (0x4f627461), 
  ACE_NTOHL (0x696e496e), 
  ACE_NTOHL (0x666f4d6f), 
  ACE_NTOHL (0x64650000),  // name = ObtainInfoMode
  4, // member count
  20,
  ACE_NTOHL (0x414c4c5f), 
  ACE_NTOHL (0x4e4f575f), 
  ACE_NTOHL (0x55504441), 
  ACE_NTOHL (0x5445535f), 
  ACE_NTOHL (0x4f464600),  // name = ALL_NOW_UPDATES_OFF
  19,
  ACE_NTOHL (0x414c4c5f), 
  ACE_NTOHL (0x4e4f575f), 
  ACE_NTOHL (0x55504441), 
  ACE_NTOHL (0x5445535f), 
  ACE_NTOHL (0x4f4e0000),  // name = ALL_NOW_UPDATES_ON
  21,
  ACE_NTOHL (0x4e4f4e45), 
  ACE_NTOHL (0x5f4e4f57), 
  ACE_NTOHL (0x5f555044), 
  ACE_NTOHL (0x41544553), 
  ACE_NTOHL (0x5f4f4646), 
  ACE_NTOHL (0x0),  // name = NONE_NOW_UPDATES_OFF
  20,
  ACE_NTOHL (0x4e4f4e45), 
  ACE_NTOHL (0x5f4e4f57), 
  ACE_NTOHL (0x5f555044), 
  ACE_NTOHL (0x41544553), 
  ACE_NTOHL (0x5f4f4e00),  // name = NONE_NOW_UPDATES_ON
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ObtainInfoMode (
    CORBA::tk_enum,
    sizeof (_oc_CosNotifyChannelAdmin_ObtainInfoMode),
    (char *) &_oc_CosNotifyChannelAdmin_ObtainInfoMode,
    0,
    sizeof (CosNotifyChannelAdmin::ObtainInfoMode)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ObtainInfoMode =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ObtainInfoMode;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::ProxyConsumer.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxyConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyConsumer>::tao_duplicate (
    CosNotifyChannelAdmin::ProxyConsumer_ptr p
  )
{
  return CosNotifyChannelAdmin::ProxyConsumer::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyConsumer>::tao_release (
    CosNotifyChannelAdmin::ProxyConsumer_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxyConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyConsumer>::tao_nil (void)
{
  return CosNotifyChannelAdmin::ProxyConsumer::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyConsumer>::tao_marshal (
    CosNotifyChannelAdmin::ProxyConsumer_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_ProxyConsumer_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxyType CosNotifyChannelAdmin::ProxyConsumer::MyType (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxyType>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyType",
      11,
      this->the_TAO_ProxyConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::SupplierAdmin_ptr CosNotifyChannelAdmin::ProxyConsumer::MyAdmin (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::SupplierAdmin>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyAdmin",
      12,
      this->the_TAO_ProxyConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotification::EventTypeSeq * CosNotifyChannelAdmin::ProxyConsumer::obtain_subscription_types (
    ::CosNotifyChannelAdmin::ObtainInfoMode mode
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotification::EventTypeSeq>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ObtainInfoMode>::in_arg_val _tao_mode (mode);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_mode
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "obtain_subscription_types",
      25,
      this->the_TAO_ProxyConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxyConsumer::validate_event_qos (
    const ::CosNotification::QoSProperties & required_qos,
    ::CosNotification::NamedPropertyRangeSeq_out available_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotification::UnsupportedQoS
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::QoSProperties>::in_arg_val _tao_required_qos (required_qos);
  TAO::Arg_Traits< ::CosNotification::NamedPropertyRangeSeq>::out_arg_val _tao_available_qos (available_qos);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_required_qos,
      &_tao_available_qos
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ProxyConsumer_validate_event_qos_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotification/UnsupportedQoS:1.0",
        CosNotification::UnsupportedQoS::_alloc,
        CosNotification::_tc_UnsupportedQoS
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "validate_event_qos",
      18,
      this->the_TAO_ProxyConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ProxyConsumer_validate_event_qos_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::ProxyConsumer::ProxyConsumer (void)
 : the_TAO_ProxyConsumer_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
}

void
CosNotifyChannelAdmin::ProxyConsumer::CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_ProxyConsumer_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ProxyConsumer_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_ProxyConsumer_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotification_QoSAdmin_setup_collocation ();
  this->CosNotifyFilter_FilterAdmin_setup_collocation ();
}

CosNotifyChannelAdmin::ProxyConsumer::~ProxyConsumer (void)
{}

void 
CosNotifyChannelAdmin::ProxyConsumer::_tao_any_destructor (void *_tao_void_pointer)
{
  ProxyConsumer *_tao_tmp_pointer =
    static_cast<ProxyConsumer *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::ProxyConsumer_ptr
CosNotifyChannelAdmin::ProxyConsumer::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyConsumer>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0",
        CosNotifyChannelAdmin__TAO_ProxyConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxyConsumer_ptr
CosNotifyChannelAdmin::ProxyConsumer::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyConsumer>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0",
        CosNotifyChannelAdmin__TAO_ProxyConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxyConsumer_ptr
CosNotifyChannelAdmin::ProxyConsumer::_duplicate (ProxyConsumer_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxyConsumer::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::ProxyConsumer::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxyConsumer::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ProxyConsumer[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  52,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787943), 
  ACE_NTOHL (0x6f6e7375), 
  ACE_NTOHL (0x6d65723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0
    14,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79436f6e), 
  ACE_NTOHL (0x73756d65), 
  ACE_NTOHL (0x72000000),  // name = ProxyConsumer
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ProxyConsumer (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_ProxyConsumer),
    (char *) &_oc_CosNotifyChannelAdmin_ProxyConsumer,
    0,
    sizeof (CosNotifyChannelAdmin::ProxyConsumer)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyConsumer =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ProxyConsumer;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::ProxySupplier.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxySupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxySupplier>::tao_duplicate (
    CosNotifyChannelAdmin::ProxySupplier_ptr p
  )
{
  return CosNotifyChannelAdmin::ProxySupplier::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxySupplier>::tao_release (
    CosNotifyChannelAdmin::ProxySupplier_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxySupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxySupplier>::tao_nil (void)
{
  return CosNotifyChannelAdmin::ProxySupplier::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxySupplier>::tao_marshal (
    CosNotifyChannelAdmin::ProxySupplier_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_ProxySupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxyType CosNotifyChannelAdmin::ProxySupplier::MyType (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxySupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxyType>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyType",
      11,
      this->the_TAO_ProxySupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ConsumerAdmin_ptr CosNotifyChannelAdmin::ProxySupplier::MyAdmin (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxySupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ConsumerAdmin>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyAdmin",
      12,
      this->the_TAO_ProxySupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyFilter::MappingFilter_ptr CosNotifyChannelAdmin::ProxySupplier::priority_filter (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxySupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::MappingFilter>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_priority_filter",
      20,
      this->the_TAO_ProxySupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxySupplier::priority_filter (
    ::CosNotifyFilter::MappingFilter_ptr priority_filter
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxySupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::MappingFilter>::in_arg_val _tao_priority_filter (priority_filter);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_priority_filter
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "_set_priority_filter",
      20,
      this->the_TAO_ProxySupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyFilter::MappingFilter_ptr CosNotifyChannelAdmin::ProxySupplier::lifetime_filter (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxySupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::MappingFilter>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_lifetime_filter",
      20,
      this->the_TAO_ProxySupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxySupplier::lifetime_filter (
    ::CosNotifyFilter::MappingFilter_ptr lifetime_filter
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxySupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::MappingFilter>::in_arg_val _tao_lifetime_filter (lifetime_filter);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_lifetime_filter
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "_set_lifetime_filter",
      20,
      this->the_TAO_ProxySupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotification::EventTypeSeq * CosNotifyChannelAdmin::ProxySupplier::obtain_offered_types (
    ::CosNotifyChannelAdmin::ObtainInfoMode mode
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxySupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotification::EventTypeSeq>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ObtainInfoMode>::in_arg_val _tao_mode (mode);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_mode
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "obtain_offered_types",
      20,
      this->the_TAO_ProxySupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxySupplier::validate_event_qos (
    const ::CosNotification::QoSProperties & required_qos,
    ::CosNotification::NamedPropertyRangeSeq_out available_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotification::UnsupportedQoS
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxySupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::QoSProperties>::in_arg_val _tao_required_qos (required_qos);
  TAO::Arg_Traits< ::CosNotification::NamedPropertyRangeSeq>::out_arg_val _tao_available_qos (available_qos);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_required_qos,
      &_tao_available_qos
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ProxySupplier_validate_event_qos_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotification/UnsupportedQoS:1.0",
        CosNotification::UnsupportedQoS::_alloc,
        CosNotification::_tc_UnsupportedQoS
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "validate_event_qos",
      18,
      this->the_TAO_ProxySupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ProxySupplier_validate_event_qos_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::ProxySupplier::ProxySupplier (void)
 : the_TAO_ProxySupplier_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
}

void
CosNotifyChannelAdmin::ProxySupplier::CosNotifyChannelAdmin_ProxySupplier_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_ProxySupplier_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ProxySupplier_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_ProxySupplier_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotification_QoSAdmin_setup_collocation ();
  this->CosNotifyFilter_FilterAdmin_setup_collocation ();
}

CosNotifyChannelAdmin::ProxySupplier::~ProxySupplier (void)
{}

void 
CosNotifyChannelAdmin::ProxySupplier::_tao_any_destructor (void *_tao_void_pointer)
{
  ProxySupplier *_tao_tmp_pointer =
    static_cast<ProxySupplier *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::ProxySupplier_ptr
CosNotifyChannelAdmin::ProxySupplier::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxySupplier>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0",
        CosNotifyChannelAdmin__TAO_ProxySupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxySupplier_ptr
CosNotifyChannelAdmin::ProxySupplier::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxySupplier>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0",
        CosNotifyChannelAdmin__TAO_ProxySupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxySupplier_ptr
CosNotifyChannelAdmin::ProxySupplier::_duplicate (ProxySupplier_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxySupplier::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::ProxySupplier::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxySupplier::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ProxySupplier[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  52,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787953), 
  ACE_NTOHL (0x7570706c), 
  ACE_NTOHL (0x6965723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0
    14,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79537570), 
  ACE_NTOHL (0x706c6965), 
  ACE_NTOHL (0x72000000),  // name = ProxySupplier
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ProxySupplier (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_ProxySupplier),
    (char *) &_oc_CosNotifyChannelAdmin_ProxySupplier,
    0,
    sizeof (CosNotifyChannelAdmin::ProxySupplier)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxySupplier =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ProxySupplier;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::ProxyPushConsumer.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxyPushConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPushConsumer>::tao_duplicate (
    CosNotifyChannelAdmin::ProxyPushConsumer_ptr p
  )
{
  return CosNotifyChannelAdmin::ProxyPushConsumer::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPushConsumer>::tao_release (
    CosNotifyChannelAdmin::ProxyPushConsumer_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxyPushConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPushConsumer>::tao_nil (void)
{
  return CosNotifyChannelAdmin::ProxyPushConsumer::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPushConsumer>::tao_marshal (
    CosNotifyChannelAdmin::ProxyPushConsumer_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxyPushConsumer::connect_any_push_supplier (
    ::CosEventComm::PushSupplier_ptr push_supplier
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyPushConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosEventComm::PushSupplier>::in_arg_val _tao_push_supplier (push_supplier);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_push_supplier
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ProxyPushConsumer_connect_any_push_supplier_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_any_push_supplier",
      25,
      this->the_TAO_ProxyPushConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ProxyPushConsumer_connect_any_push_supplier_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::ProxyPushConsumer::ProxyPushConsumer (void)
 : the_TAO_ProxyPushConsumer_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_ProxyPushConsumer_setup_collocation ();
}

void
CosNotifyChannelAdmin::ProxyPushConsumer::CosNotifyChannelAdmin_ProxyPushConsumer_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ProxyPushConsumer_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
  this->CosNotifyComm_PushConsumer_setup_collocation ();
}

CosNotifyChannelAdmin::ProxyPushConsumer::~ProxyPushConsumer (void)
{}

void 
CosNotifyChannelAdmin::ProxyPushConsumer::_tao_any_destructor (void *_tao_void_pointer)
{
  ProxyPushConsumer *_tao_tmp_pointer =
    static_cast<ProxyPushConsumer *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::ProxyPushConsumer_ptr
CosNotifyChannelAdmin::ProxyPushConsumer::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPushConsumer>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushConsumer:1.0",
        CosNotifyChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxyPushConsumer_ptr
CosNotifyChannelAdmin::ProxyPushConsumer::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPushConsumer>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushConsumer:1.0",
        CosNotifyChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxyPushConsumer_ptr
CosNotifyChannelAdmin::ProxyPushConsumer::_duplicate (ProxyPushConsumer_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxyPushConsumer::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifyPublish:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosEventComm/PushConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/PushConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::ProxyPushConsumer::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushConsumer:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxyPushConsumer::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ProxyPushConsumer[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  56,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x75736843), 
  ACE_NTOHL (0x6f6e7375), 
  ACE_NTOHL (0x6d65723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxyPushConsumer:1.0
    18,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79507573), 
  ACE_NTOHL (0x68436f6e), 
  ACE_NTOHL (0x73756d65), 
  ACE_NTOHL (0x72000000),  // name = ProxyPushConsumer
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ProxyPushConsumer (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_ProxyPushConsumer),
    (char *) &_oc_CosNotifyChannelAdmin_ProxyPushConsumer,
    0,
    sizeof (CosNotifyChannelAdmin::ProxyPushConsumer)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyPushConsumer =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ProxyPushConsumer;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::StructuredProxyPushConsumer.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPushConsumer>::tao_duplicate (
    CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr p
  )
{
  return CosNotifyChannelAdmin::StructuredProxyPushConsumer::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPushConsumer>::tao_release (
    CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPushConsumer>::tao_nil (void)
{
  return CosNotifyChannelAdmin::StructuredProxyPushConsumer::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPushConsumer>::tao_marshal (
    CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_StructuredProxyPushConsumer_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::StructuredProxyPushConsumer::connect_structured_push_supplier (
    ::CosNotifyComm::StructuredPushSupplier_ptr push_supplier
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPushConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_StructuredProxyPushConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyComm::StructuredPushSupplier>::in_arg_val _tao_push_supplier (push_supplier);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_push_supplier
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_StructuredProxyPushConsumer_connect_structured_push_supplier_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_structured_push_supplier",
      32,
      this->the_TAO_StructuredProxyPushConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_StructuredProxyPushConsumer_connect_structured_push_supplier_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::StructuredProxyPushConsumer::StructuredProxyPushConsumer (void)
 : the_TAO_StructuredProxyPushConsumer_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_StructuredProxyPushConsumer_setup_collocation ();
}

void
CosNotifyChannelAdmin::StructuredProxyPushConsumer::CosNotifyChannelAdmin_StructuredProxyPushConsumer_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_StructuredProxyPushConsumer_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_StructuredProxyPushConsumer_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_StructuredProxyPushConsumer_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
  this->CosNotifyComm_StructuredPushConsumer_setup_collocation ();
}

CosNotifyChannelAdmin::StructuredProxyPushConsumer::~StructuredProxyPushConsumer (void)
{}

void 
CosNotifyChannelAdmin::StructuredProxyPushConsumer::_tao_any_destructor (void *_tao_void_pointer)
{
  StructuredProxyPushConsumer *_tao_tmp_pointer =
    static_cast<StructuredProxyPushConsumer *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr
CosNotifyChannelAdmin::StructuredProxyPushConsumer::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<StructuredProxyPushConsumer>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushConsumer:1.0",
        CosNotifyChannelAdmin__TAO_StructuredProxyPushConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr
CosNotifyChannelAdmin::StructuredProxyPushConsumer::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<StructuredProxyPushConsumer>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushConsumer:1.0",
        CosNotifyChannelAdmin__TAO_StructuredProxyPushConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr
CosNotifyChannelAdmin::StructuredProxyPushConsumer::_duplicate (StructuredProxyPushConsumer_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::StructuredProxyPushConsumer::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifyPublish:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/StructuredPushConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::StructuredProxyPushConsumer::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushConsumer:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::StructuredProxyPushConsumer::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_StructuredProxyPushConsumer[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  66,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5374), 
  ACE_NTOHL (0x72756374), 
  ACE_NTOHL (0x75726564), 
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79507573), 
  ACE_NTOHL (0x68436f6e), 
  ACE_NTOHL (0x73756d65), 
  ACE_NTOHL (0x723a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushConsumer:1.0
    28,
  ACE_NTOHL (0x53747275), 
  ACE_NTOHL (0x63747572), 
  ACE_NTOHL (0x65645072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x75736843), 
  ACE_NTOHL (0x6f6e7375), 
  ACE_NTOHL (0x6d657200),  // name = StructuredProxyPushConsumer
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_StructuredProxyPushConsumer (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_StructuredProxyPushConsumer),
    (char *) &_oc_CosNotifyChannelAdmin_StructuredProxyPushConsumer,
    0,
    sizeof (CosNotifyChannelAdmin::StructuredProxyPushConsumer)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_StructuredProxyPushConsumer =
    &_tc_TAO_tc_CosNotifyChannelAdmin_StructuredProxyPushConsumer;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::SequenceProxyPushConsumer.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPushConsumer>::tao_duplicate (
    CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr p
  )
{
  return CosNotifyChannelAdmin::SequenceProxyPushConsumer::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPushConsumer>::tao_release (
    CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPushConsumer>::tao_nil (void)
{
  return CosNotifyChannelAdmin::SequenceProxyPushConsumer::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPushConsumer>::tao_marshal (
    CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_SequenceProxyPushConsumer_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::SequenceProxyPushConsumer::connect_sequence_push_supplier (
    ::CosNotifyComm::SequencePushSupplier_ptr push_supplier
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SequenceProxyPushConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SequenceProxyPushConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyComm::SequencePushSupplier>::in_arg_val _tao_push_supplier (push_supplier);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_push_supplier
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SequenceProxyPushConsumer_connect_sequence_push_supplier_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_sequence_push_supplier",
      30,
      this->the_TAO_SequenceProxyPushConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SequenceProxyPushConsumer_connect_sequence_push_supplier_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::SequenceProxyPushConsumer::SequenceProxyPushConsumer (void)
 : the_TAO_SequenceProxyPushConsumer_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_SequenceProxyPushConsumer_setup_collocation ();
}

void
CosNotifyChannelAdmin::SequenceProxyPushConsumer::CosNotifyChannelAdmin_SequenceProxyPushConsumer_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_SequenceProxyPushConsumer_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_SequenceProxyPushConsumer_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_SequenceProxyPushConsumer_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
  this->CosNotifyComm_SequencePushConsumer_setup_collocation ();
}

CosNotifyChannelAdmin::SequenceProxyPushConsumer::~SequenceProxyPushConsumer (void)
{}

void 
CosNotifyChannelAdmin::SequenceProxyPushConsumer::_tao_any_destructor (void *_tao_void_pointer)
{
  SequenceProxyPushConsumer *_tao_tmp_pointer =
    static_cast<SequenceProxyPushConsumer *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr
CosNotifyChannelAdmin::SequenceProxyPushConsumer::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SequenceProxyPushConsumer>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushConsumer:1.0",
        CosNotifyChannelAdmin__TAO_SequenceProxyPushConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr
CosNotifyChannelAdmin::SequenceProxyPushConsumer::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SequenceProxyPushConsumer>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushConsumer:1.0",
        CosNotifyChannelAdmin__TAO_SequenceProxyPushConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr
CosNotifyChannelAdmin::SequenceProxyPushConsumer::_duplicate (SequenceProxyPushConsumer_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::SequenceProxyPushConsumer::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifyPublish:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/SequencePushConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::SequenceProxyPushConsumer::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushConsumer:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::SequenceProxyPushConsumer::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_SequenceProxyPushConsumer[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  64,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5365), 
  ACE_NTOHL (0x7175656e), 
  ACE_NTOHL (0x63655072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x75736843), 
  ACE_NTOHL (0x6f6e7375), 
  ACE_NTOHL (0x6d65723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushConsumer:1.0
    26,
  ACE_NTOHL (0x53657175), 
  ACE_NTOHL (0x656e6365), 
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79507573), 
  ACE_NTOHL (0x68436f6e), 
  ACE_NTOHL (0x73756d65), 
  ACE_NTOHL (0x72000000),  // name = SequenceProxyPushConsumer
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_SequenceProxyPushConsumer (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_SequenceProxyPushConsumer),
    (char *) &_oc_CosNotifyChannelAdmin_SequenceProxyPushConsumer,
    0,
    sizeof (CosNotifyChannelAdmin::SequenceProxyPushConsumer)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_SequenceProxyPushConsumer =
    &_tc_TAO_tc_CosNotifyChannelAdmin_SequenceProxyPushConsumer;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::ProxyPullSupplier.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxyPullSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPullSupplier>::tao_duplicate (
    CosNotifyChannelAdmin::ProxyPullSupplier_ptr p
  )
{
  return CosNotifyChannelAdmin::ProxyPullSupplier::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPullSupplier>::tao_release (
    CosNotifyChannelAdmin::ProxyPullSupplier_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxyPullSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPullSupplier>::tao_nil (void)
{
  return CosNotifyChannelAdmin::ProxyPullSupplier::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPullSupplier>::tao_marshal (
    CosNotifyChannelAdmin::ProxyPullSupplier_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_ProxyPullSupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxyPullSupplier::connect_any_pull_consumer (
    ::CosEventComm::PullConsumer_ptr pull_consumer
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPullSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyPullSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosEventComm::PullConsumer>::in_arg_val _tao_pull_consumer (pull_consumer);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_pull_consumer
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ProxyPullSupplier_connect_any_pull_consumer_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_any_pull_consumer",
      25,
      this->the_TAO_ProxyPullSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ProxyPullSupplier_connect_any_pull_consumer_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::ProxyPullSupplier::ProxyPullSupplier (void)
 : the_TAO_ProxyPullSupplier_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_ProxyPullSupplier_setup_collocation ();
}

void
CosNotifyChannelAdmin::ProxyPullSupplier::CosNotifyChannelAdmin_ProxyPullSupplier_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_ProxyPullSupplier_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ProxyPullSupplier_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_ProxyPullSupplier_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
  this->CosNotifyComm_PullSupplier_setup_collocation ();
}

CosNotifyChannelAdmin::ProxyPullSupplier::~ProxyPullSupplier (void)
{}

void 
CosNotifyChannelAdmin::ProxyPullSupplier::_tao_any_destructor (void *_tao_void_pointer)
{
  ProxyPullSupplier *_tao_tmp_pointer =
    static_cast<ProxyPullSupplier *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::ProxyPullSupplier_ptr
CosNotifyChannelAdmin::ProxyPullSupplier::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPullSupplier>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullSupplier:1.0",
        CosNotifyChannelAdmin__TAO_ProxyPullSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxyPullSupplier_ptr
CosNotifyChannelAdmin::ProxyPullSupplier::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPullSupplier>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullSupplier:1.0",
        CosNotifyChannelAdmin__TAO_ProxyPullSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxyPullSupplier_ptr
CosNotifyChannelAdmin::ProxyPullSupplier::_duplicate (ProxyPullSupplier_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxyPullSupplier::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifySubscribe:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosEventComm/PullSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/PullSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::ProxyPullSupplier::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullSupplier:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxyPullSupplier::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ProxyPullSupplier[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  56,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x756c6c53), 
  ACE_NTOHL (0x7570706c), 
  ACE_NTOHL (0x6965723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxyPullSupplier:1.0
    18,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x7950756c), 
  ACE_NTOHL (0x6c537570), 
  ACE_NTOHL (0x706c6965), 
  ACE_NTOHL (0x72000000),  // name = ProxyPullSupplier
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ProxyPullSupplier (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_ProxyPullSupplier),
    (char *) &_oc_CosNotifyChannelAdmin_ProxyPullSupplier,
    0,
    sizeof (CosNotifyChannelAdmin::ProxyPullSupplier)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyPullSupplier =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ProxyPullSupplier;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::StructuredProxyPullSupplier.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPullSupplier>::tao_duplicate (
    CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr p
  )
{
  return CosNotifyChannelAdmin::StructuredProxyPullSupplier::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPullSupplier>::tao_release (
    CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPullSupplier>::tao_nil (void)
{
  return CosNotifyChannelAdmin::StructuredProxyPullSupplier::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPullSupplier>::tao_marshal (
    CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_StructuredProxyPullSupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::StructuredProxyPullSupplier::connect_structured_pull_consumer (
    ::CosNotifyComm::StructuredPullConsumer_ptr pull_consumer
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPullSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_StructuredProxyPullSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyComm::StructuredPullConsumer>::in_arg_val _tao_pull_consumer (pull_consumer);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_pull_consumer
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_StructuredProxyPullSupplier_connect_structured_pull_consumer_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_structured_pull_consumer",
      32,
      this->the_TAO_StructuredProxyPullSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_StructuredProxyPullSupplier_connect_structured_pull_consumer_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::StructuredProxyPullSupplier::StructuredProxyPullSupplier (void)
 : the_TAO_StructuredProxyPullSupplier_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_StructuredProxyPullSupplier_setup_collocation ();
}

void
CosNotifyChannelAdmin::StructuredProxyPullSupplier::CosNotifyChannelAdmin_StructuredProxyPullSupplier_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_StructuredProxyPullSupplier_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_StructuredProxyPullSupplier_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_StructuredProxyPullSupplier_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
  this->CosNotifyComm_StructuredPullSupplier_setup_collocation ();
}

CosNotifyChannelAdmin::StructuredProxyPullSupplier::~StructuredProxyPullSupplier (void)
{}

void 
CosNotifyChannelAdmin::StructuredProxyPullSupplier::_tao_any_destructor (void *_tao_void_pointer)
{
  StructuredProxyPullSupplier *_tao_tmp_pointer =
    static_cast<StructuredProxyPullSupplier *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr
CosNotifyChannelAdmin::StructuredProxyPullSupplier::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<StructuredProxyPullSupplier>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullSupplier:1.0",
        CosNotifyChannelAdmin__TAO_StructuredProxyPullSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr
CosNotifyChannelAdmin::StructuredProxyPullSupplier::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<StructuredProxyPullSupplier>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullSupplier:1.0",
        CosNotifyChannelAdmin__TAO_StructuredProxyPullSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr
CosNotifyChannelAdmin::StructuredProxyPullSupplier::_duplicate (StructuredProxyPullSupplier_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::StructuredProxyPullSupplier::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifySubscribe:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/StructuredPullSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::StructuredProxyPullSupplier::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullSupplier:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::StructuredProxyPullSupplier::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_StructuredProxyPullSupplier[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  66,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5374), 
  ACE_NTOHL (0x72756374), 
  ACE_NTOHL (0x75726564), 
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x7950756c), 
  ACE_NTOHL (0x6c537570), 
  ACE_NTOHL (0x706c6965), 
  ACE_NTOHL (0x723a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullSupplier:1.0
    28,
  ACE_NTOHL (0x53747275), 
  ACE_NTOHL (0x63747572), 
  ACE_NTOHL (0x65645072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x756c6c53), 
  ACE_NTOHL (0x7570706c), 
  ACE_NTOHL (0x69657200),  // name = StructuredProxyPullSupplier
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_StructuredProxyPullSupplier (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_StructuredProxyPullSupplier),
    (char *) &_oc_CosNotifyChannelAdmin_StructuredProxyPullSupplier,
    0,
    sizeof (CosNotifyChannelAdmin::StructuredProxyPullSupplier)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_StructuredProxyPullSupplier =
    &_tc_TAO_tc_CosNotifyChannelAdmin_StructuredProxyPullSupplier;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::SequenceProxyPullSupplier.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPullSupplier>::tao_duplicate (
    CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr p
  )
{
  return CosNotifyChannelAdmin::SequenceProxyPullSupplier::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPullSupplier>::tao_release (
    CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPullSupplier>::tao_nil (void)
{
  return CosNotifyChannelAdmin::SequenceProxyPullSupplier::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPullSupplier>::tao_marshal (
    CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_SequenceProxyPullSupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::SequenceProxyPullSupplier::connect_sequence_pull_consumer (
    ::CosNotifyComm::SequencePullConsumer_ptr pull_consumer
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SequenceProxyPullSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SequenceProxyPullSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyComm::SequencePullConsumer>::in_arg_val _tao_pull_consumer (pull_consumer);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_pull_consumer
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SequenceProxyPullSupplier_connect_sequence_pull_consumer_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_sequence_pull_consumer",
      30,
      this->the_TAO_SequenceProxyPullSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SequenceProxyPullSupplier_connect_sequence_pull_consumer_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::SequenceProxyPullSupplier::SequenceProxyPullSupplier (void)
 : the_TAO_SequenceProxyPullSupplier_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_SequenceProxyPullSupplier_setup_collocation ();
}

void
CosNotifyChannelAdmin::SequenceProxyPullSupplier::CosNotifyChannelAdmin_SequenceProxyPullSupplier_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_SequenceProxyPullSupplier_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_SequenceProxyPullSupplier_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_SequenceProxyPullSupplier_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
  this->CosNotifyComm_SequencePullSupplier_setup_collocation ();
}

CosNotifyChannelAdmin::SequenceProxyPullSupplier::~SequenceProxyPullSupplier (void)
{}

void 
CosNotifyChannelAdmin::SequenceProxyPullSupplier::_tao_any_destructor (void *_tao_void_pointer)
{
  SequenceProxyPullSupplier *_tao_tmp_pointer =
    static_cast<SequenceProxyPullSupplier *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr
CosNotifyChannelAdmin::SequenceProxyPullSupplier::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SequenceProxyPullSupplier>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullSupplier:1.0",
        CosNotifyChannelAdmin__TAO_SequenceProxyPullSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr
CosNotifyChannelAdmin::SequenceProxyPullSupplier::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SequenceProxyPullSupplier>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullSupplier:1.0",
        CosNotifyChannelAdmin__TAO_SequenceProxyPullSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr
CosNotifyChannelAdmin::SequenceProxyPullSupplier::_duplicate (SequenceProxyPullSupplier_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::SequenceProxyPullSupplier::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifySubscribe:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/SequencePullSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::SequenceProxyPullSupplier::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullSupplier:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::SequenceProxyPullSupplier::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_SequenceProxyPullSupplier[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  64,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5365), 
  ACE_NTOHL (0x7175656e), 
  ACE_NTOHL (0x63655072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x756c6c53), 
  ACE_NTOHL (0x7570706c), 
  ACE_NTOHL (0x6965723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullSupplier:1.0
    26,
  ACE_NTOHL (0x53657175), 
  ACE_NTOHL (0x656e6365), 
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x7950756c), 
  ACE_NTOHL (0x6c537570), 
  ACE_NTOHL (0x706c6965), 
  ACE_NTOHL (0x72000000),  // name = SequenceProxyPullSupplier
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_SequenceProxyPullSupplier (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_SequenceProxyPullSupplier),
    (char *) &_oc_CosNotifyChannelAdmin_SequenceProxyPullSupplier,
    0,
    sizeof (CosNotifyChannelAdmin::SequenceProxyPullSupplier)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_SequenceProxyPullSupplier =
    &_tc_TAO_tc_CosNotifyChannelAdmin_SequenceProxyPullSupplier;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::ProxyPullConsumer.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxyPullConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPullConsumer>::tao_duplicate (
    CosNotifyChannelAdmin::ProxyPullConsumer_ptr p
  )
{
  return CosNotifyChannelAdmin::ProxyPullConsumer::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPullConsumer>::tao_release (
    CosNotifyChannelAdmin::ProxyPullConsumer_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxyPullConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPullConsumer>::tao_nil (void)
{
  return CosNotifyChannelAdmin::ProxyPullConsumer::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPullConsumer>::tao_marshal (
    CosNotifyChannelAdmin::ProxyPullConsumer_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_ProxyPullConsumer_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxyPullConsumer::connect_any_pull_supplier (
    ::CosEventComm::PullSupplier_ptr pull_supplier
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected,
    ::CosEventChannelAdmin::TypeError
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPullConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyPullConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosEventComm::PullSupplier>::in_arg_val _tao_pull_supplier (pull_supplier);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_pull_supplier
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ProxyPullConsumer_connect_any_pull_supplier_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      },
      
      {
        "IDL:omg.org/CosEventChannelAdmin/TypeError:1.0",
        CosEventChannelAdmin::TypeError::_alloc,
        CosEventChannelAdmin::_tc_TypeError
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_any_pull_supplier",
      25,
      this->the_TAO_ProxyPullConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ProxyPullConsumer_connect_any_pull_supplier_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxyPullConsumer::suspend_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyInactive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPullConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyPullConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ProxyPullConsumer_suspend_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyInactive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyInactive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyInactive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "suspend_connection",
      18,
      this->the_TAO_ProxyPullConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ProxyPullConsumer_suspend_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxyPullConsumer::resume_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyActive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPullConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyPullConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ProxyPullConsumer_resume_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyActive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyActive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyActive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "resume_connection",
      17,
      this->the_TAO_ProxyPullConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ProxyPullConsumer_resume_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::ProxyPullConsumer::ProxyPullConsumer (void)
 : the_TAO_ProxyPullConsumer_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_ProxyPullConsumer_setup_collocation ();
}

void
CosNotifyChannelAdmin::ProxyPullConsumer::CosNotifyChannelAdmin_ProxyPullConsumer_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_ProxyPullConsumer_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ProxyPullConsumer_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_ProxyPullConsumer_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
  this->CosNotifyComm_PullConsumer_setup_collocation ();
}

CosNotifyChannelAdmin::ProxyPullConsumer::~ProxyPullConsumer (void)
{}

void 
CosNotifyChannelAdmin::ProxyPullConsumer::_tao_any_destructor (void *_tao_void_pointer)
{
  ProxyPullConsumer *_tao_tmp_pointer =
    static_cast<ProxyPullConsumer *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::ProxyPullConsumer_ptr
CosNotifyChannelAdmin::ProxyPullConsumer::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPullConsumer>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullConsumer:1.0",
        CosNotifyChannelAdmin__TAO_ProxyPullConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxyPullConsumer_ptr
CosNotifyChannelAdmin::ProxyPullConsumer::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPullConsumer>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullConsumer:1.0",
        CosNotifyChannelAdmin__TAO_ProxyPullConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxyPullConsumer_ptr
CosNotifyChannelAdmin::ProxyPullConsumer::_duplicate (ProxyPullConsumer_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxyPullConsumer::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifyPublish:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosEventComm/PullConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/PullConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::ProxyPullConsumer::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/ProxyPullConsumer:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxyPullConsumer::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ProxyPullConsumer[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  56,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x756c6c43), 
  ACE_NTOHL (0x6f6e7375), 
  ACE_NTOHL (0x6d65723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxyPullConsumer:1.0
    18,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x7950756c), 
  ACE_NTOHL (0x6c436f6e), 
  ACE_NTOHL (0x73756d65), 
  ACE_NTOHL (0x72000000),  // name = ProxyPullConsumer
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ProxyPullConsumer (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_ProxyPullConsumer),
    (char *) &_oc_CosNotifyChannelAdmin_ProxyPullConsumer,
    0,
    sizeof (CosNotifyChannelAdmin::ProxyPullConsumer)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyPullConsumer =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ProxyPullConsumer;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::StructuredProxyPullConsumer.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPullConsumer>::tao_duplicate (
    CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr p
  )
{
  return CosNotifyChannelAdmin::StructuredProxyPullConsumer::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPullConsumer>::tao_release (
    CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPullConsumer>::tao_nil (void)
{
  return CosNotifyChannelAdmin::StructuredProxyPullConsumer::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPullConsumer>::tao_marshal (
    CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_StructuredProxyPullConsumer_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::StructuredProxyPullConsumer::connect_structured_pull_supplier (
    ::CosNotifyComm::StructuredPullSupplier_ptr pull_supplier
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected,
    ::CosEventChannelAdmin::TypeError
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPullConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_StructuredProxyPullConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyComm::StructuredPullSupplier>::in_arg_val _tao_pull_supplier (pull_supplier);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_pull_supplier
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_StructuredProxyPullConsumer_connect_structured_pull_supplier_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      },
      
      {
        "IDL:omg.org/CosEventChannelAdmin/TypeError:1.0",
        CosEventChannelAdmin::TypeError::_alloc,
        CosEventChannelAdmin::_tc_TypeError
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_structured_pull_supplier",
      32,
      this->the_TAO_StructuredProxyPullConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_StructuredProxyPullConsumer_connect_structured_pull_supplier_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::StructuredProxyPullConsumer::suspend_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyInactive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPullConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_StructuredProxyPullConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_StructuredProxyPullConsumer_suspend_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyInactive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyInactive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyInactive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "suspend_connection",
      18,
      this->the_TAO_StructuredProxyPullConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_StructuredProxyPullConsumer_suspend_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::StructuredProxyPullConsumer::resume_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyActive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPullConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_StructuredProxyPullConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_StructuredProxyPullConsumer_resume_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyActive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyActive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyActive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "resume_connection",
      17,
      this->the_TAO_StructuredProxyPullConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_StructuredProxyPullConsumer_resume_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::StructuredProxyPullConsumer::StructuredProxyPullConsumer (void)
 : the_TAO_StructuredProxyPullConsumer_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_StructuredProxyPullConsumer_setup_collocation ();
}

void
CosNotifyChannelAdmin::StructuredProxyPullConsumer::CosNotifyChannelAdmin_StructuredProxyPullConsumer_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_StructuredProxyPullConsumer_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_StructuredProxyPullConsumer_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_StructuredProxyPullConsumer_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
  this->CosNotifyComm_StructuredPullConsumer_setup_collocation ();
}

CosNotifyChannelAdmin::StructuredProxyPullConsumer::~StructuredProxyPullConsumer (void)
{}

void 
CosNotifyChannelAdmin::StructuredProxyPullConsumer::_tao_any_destructor (void *_tao_void_pointer)
{
  StructuredProxyPullConsumer *_tao_tmp_pointer =
    static_cast<StructuredProxyPullConsumer *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr
CosNotifyChannelAdmin::StructuredProxyPullConsumer::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<StructuredProxyPullConsumer>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullConsumer:1.0",
        CosNotifyChannelAdmin__TAO_StructuredProxyPullConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr
CosNotifyChannelAdmin::StructuredProxyPullConsumer::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<StructuredProxyPullConsumer>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullConsumer:1.0",
        CosNotifyChannelAdmin__TAO_StructuredProxyPullConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr
CosNotifyChannelAdmin::StructuredProxyPullConsumer::_duplicate (StructuredProxyPullConsumer_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::StructuredProxyPullConsumer::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifyPublish:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/StructuredPullConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::StructuredProxyPullConsumer::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullConsumer:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::StructuredProxyPullConsumer::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_StructuredProxyPullConsumer[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  66,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5374), 
  ACE_NTOHL (0x72756374), 
  ACE_NTOHL (0x75726564), 
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x7950756c), 
  ACE_NTOHL (0x6c436f6e), 
  ACE_NTOHL (0x73756d65), 
  ACE_NTOHL (0x723a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPullConsumer:1.0
    28,
  ACE_NTOHL (0x53747275), 
  ACE_NTOHL (0x63747572), 
  ACE_NTOHL (0x65645072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x756c6c43), 
  ACE_NTOHL (0x6f6e7375), 
  ACE_NTOHL (0x6d657200),  // name = StructuredProxyPullConsumer
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_StructuredProxyPullConsumer (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_StructuredProxyPullConsumer),
    (char *) &_oc_CosNotifyChannelAdmin_StructuredProxyPullConsumer,
    0,
    sizeof (CosNotifyChannelAdmin::StructuredProxyPullConsumer)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_StructuredProxyPullConsumer =
    &_tc_TAO_tc_CosNotifyChannelAdmin_StructuredProxyPullConsumer;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::SequenceProxyPullConsumer.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPullConsumer>::tao_duplicate (
    CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr p
  )
{
  return CosNotifyChannelAdmin::SequenceProxyPullConsumer::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPullConsumer>::tao_release (
    CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPullConsumer>::tao_nil (void)
{
  return CosNotifyChannelAdmin::SequenceProxyPullConsumer::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPullConsumer>::tao_marshal (
    CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_SequenceProxyPullConsumer_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::SequenceProxyPullConsumer::connect_sequence_pull_supplier (
    ::CosNotifyComm::SequencePullSupplier_ptr pull_supplier
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected,
    ::CosEventChannelAdmin::TypeError
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SequenceProxyPullConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SequenceProxyPullConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyComm::SequencePullSupplier>::in_arg_val _tao_pull_supplier (pull_supplier);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_pull_supplier
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SequenceProxyPullConsumer_connect_sequence_pull_supplier_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      },
      
      {
        "IDL:omg.org/CosEventChannelAdmin/TypeError:1.0",
        CosEventChannelAdmin::TypeError::_alloc,
        CosEventChannelAdmin::_tc_TypeError
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_sequence_pull_supplier",
      30,
      this->the_TAO_SequenceProxyPullConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SequenceProxyPullConsumer_connect_sequence_pull_supplier_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::SequenceProxyPullConsumer::suspend_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyInactive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SequenceProxyPullConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SequenceProxyPullConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SequenceProxyPullConsumer_suspend_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyInactive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyInactive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyInactive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "suspend_connection",
      18,
      this->the_TAO_SequenceProxyPullConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SequenceProxyPullConsumer_suspend_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::SequenceProxyPullConsumer::resume_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyActive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SequenceProxyPullConsumer_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SequenceProxyPullConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SequenceProxyPullConsumer_resume_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyActive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyActive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyActive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "resume_connection",
      17,
      this->the_TAO_SequenceProxyPullConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SequenceProxyPullConsumer_resume_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::SequenceProxyPullConsumer::SequenceProxyPullConsumer (void)
 : the_TAO_SequenceProxyPullConsumer_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_SequenceProxyPullConsumer_setup_collocation ();
}

void
CosNotifyChannelAdmin::SequenceProxyPullConsumer::CosNotifyChannelAdmin_SequenceProxyPullConsumer_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_SequenceProxyPullConsumer_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_SequenceProxyPullConsumer_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_SequenceProxyPullConsumer_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxyConsumer_setup_collocation ();
  this->CosNotifyComm_SequencePullConsumer_setup_collocation ();
}

CosNotifyChannelAdmin::SequenceProxyPullConsumer::~SequenceProxyPullConsumer (void)
{}

void 
CosNotifyChannelAdmin::SequenceProxyPullConsumer::_tao_any_destructor (void *_tao_void_pointer)
{
  SequenceProxyPullConsumer *_tao_tmp_pointer =
    static_cast<SequenceProxyPullConsumer *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr
CosNotifyChannelAdmin::SequenceProxyPullConsumer::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SequenceProxyPullConsumer>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullConsumer:1.0",
        CosNotifyChannelAdmin__TAO_SequenceProxyPullConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr
CosNotifyChannelAdmin::SequenceProxyPullConsumer::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SequenceProxyPullConsumer>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullConsumer:1.0",
        CosNotifyChannelAdmin__TAO_SequenceProxyPullConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr
CosNotifyChannelAdmin::SequenceProxyPullConsumer::_duplicate (SequenceProxyPullConsumer_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::SequenceProxyPullConsumer::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifyPublish:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/SequencePullConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::SequenceProxyPullConsumer::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullConsumer:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::SequenceProxyPullConsumer::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_SequenceProxyPullConsumer[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  64,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5365), 
  ACE_NTOHL (0x7175656e), 
  ACE_NTOHL (0x63655072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x756c6c43), 
  ACE_NTOHL (0x6f6e7375), 
  ACE_NTOHL (0x6d65723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPullConsumer:1.0
    26,
  ACE_NTOHL (0x53657175), 
  ACE_NTOHL (0x656e6365), 
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x7950756c), 
  ACE_NTOHL (0x6c436f6e), 
  ACE_NTOHL (0x73756d65), 
  ACE_NTOHL (0x72000000),  // name = SequenceProxyPullConsumer
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_SequenceProxyPullConsumer (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_SequenceProxyPullConsumer),
    (char *) &_oc_CosNotifyChannelAdmin_SequenceProxyPullConsumer,
    0,
    sizeof (CosNotifyChannelAdmin::SequenceProxyPullConsumer)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_SequenceProxyPullConsumer =
    &_tc_TAO_tc_CosNotifyChannelAdmin_SequenceProxyPullConsumer;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::ProxyPushSupplier.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxyPushSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPushSupplier>::tao_duplicate (
    CosNotifyChannelAdmin::ProxyPushSupplier_ptr p
  )
{
  return CosNotifyChannelAdmin::ProxyPushSupplier::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPushSupplier>::tao_release (
    CosNotifyChannelAdmin::ProxyPushSupplier_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ProxyPushSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPushSupplier>::tao_nil (void)
{
  return CosNotifyChannelAdmin::ProxyPushSupplier::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::ProxyPushSupplier>::tao_marshal (
    CosNotifyChannelAdmin::ProxyPushSupplier_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxyPushSupplier::connect_any_push_consumer (
    ::CosEventComm::PushConsumer_ptr push_consumer
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected,
    ::CosEventChannelAdmin::TypeError
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosEventComm::PushConsumer>::in_arg_val _tao_push_consumer (push_consumer);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_push_consumer
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ProxyPushSupplier_connect_any_push_consumer_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      },
      
      {
        "IDL:omg.org/CosEventChannelAdmin/TypeError:1.0",
        CosEventChannelAdmin::TypeError::_alloc,
        CosEventChannelAdmin::_tc_TypeError
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_any_push_consumer",
      25,
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ProxyPushSupplier_connect_any_push_consumer_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxyPushSupplier::suspend_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyInactive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ProxyPushSupplier_suspend_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyInactive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyInactive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyInactive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "suspend_connection",
      18,
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ProxyPushSupplier_suspend_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ProxyPushSupplier::resume_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyActive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ProxyPushSupplier_resume_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyActive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyActive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyActive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "resume_connection",
      17,
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ProxyPushSupplier_resume_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::ProxyPushSupplier::ProxyPushSupplier (void)
 : the_TAO_ProxyPushSupplier_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_ProxyPushSupplier_setup_collocation ();
}

void
CosNotifyChannelAdmin::ProxyPushSupplier::CosNotifyChannelAdmin_ProxyPushSupplier_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
  this->CosNotifyComm_PushSupplier_setup_collocation ();
}

CosNotifyChannelAdmin::ProxyPushSupplier::~ProxyPushSupplier (void)
{}

void 
CosNotifyChannelAdmin::ProxyPushSupplier::_tao_any_destructor (void *_tao_void_pointer)
{
  ProxyPushSupplier *_tao_tmp_pointer =
    static_cast<ProxyPushSupplier *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::ProxyPushSupplier_ptr
CosNotifyChannelAdmin::ProxyPushSupplier::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPushSupplier>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushSupplier:1.0",
        CosNotifyChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxyPushSupplier_ptr
CosNotifyChannelAdmin::ProxyPushSupplier::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPushSupplier>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushSupplier:1.0",
        CosNotifyChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ProxyPushSupplier_ptr
CosNotifyChannelAdmin::ProxyPushSupplier::_duplicate (ProxyPushSupplier_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxyPushSupplier::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifySubscribe:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosEventComm/PushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/PushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::ProxyPushSupplier::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/ProxyPushSupplier:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::ProxyPushSupplier::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ProxyPushSupplier[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  56,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x75736853), 
  ACE_NTOHL (0x7570706c), 
  ACE_NTOHL (0x6965723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxyPushSupplier:1.0
    18,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79507573), 
  ACE_NTOHL (0x68537570), 
  ACE_NTOHL (0x706c6965), 
  ACE_NTOHL (0x72000000),  // name = ProxyPushSupplier
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ProxyPushSupplier (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_ProxyPushSupplier),
    (char *) &_oc_CosNotifyChannelAdmin_ProxyPushSupplier,
    0,
    sizeof (CosNotifyChannelAdmin::ProxyPushSupplier)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyPushSupplier =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ProxyPushSupplier;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::StructuredProxyPushSupplier.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPushSupplier>::tao_duplicate (
    CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr p
  )
{
  return CosNotifyChannelAdmin::StructuredProxyPushSupplier::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPushSupplier>::tao_release (
    CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPushSupplier>::tao_nil (void)
{
  return CosNotifyChannelAdmin::StructuredProxyPushSupplier::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::StructuredProxyPushSupplier>::tao_marshal (
    CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::StructuredProxyPushSupplier::connect_structured_push_consumer (
    ::CosNotifyComm::StructuredPushConsumer_ptr push_consumer
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected,
    ::CosEventChannelAdmin::TypeError
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_StructuredProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyComm::StructuredPushConsumer>::in_arg_val _tao_push_consumer (push_consumer);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_push_consumer
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_StructuredProxyPushSupplier_connect_structured_push_consumer_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      },
      
      {
        "IDL:omg.org/CosEventChannelAdmin/TypeError:1.0",
        CosEventChannelAdmin::TypeError::_alloc,
        CosEventChannelAdmin::_tc_TypeError
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_structured_push_consumer",
      32,
      this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_StructuredProxyPushSupplier_connect_structured_push_consumer_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::StructuredProxyPushSupplier::suspend_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyInactive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_StructuredProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_StructuredProxyPushSupplier_suspend_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyInactive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyInactive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyInactive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "suspend_connection",
      18,
      this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_StructuredProxyPushSupplier_suspend_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::StructuredProxyPushSupplier::resume_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyActive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_StructuredProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_StructuredProxyPushSupplier_resume_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyActive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyActive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyActive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "resume_connection",
      17,
      this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_StructuredProxyPushSupplier_resume_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::StructuredProxyPushSupplier::StructuredProxyPushSupplier (void)
 : the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_StructuredProxyPushSupplier_setup_collocation ();
}

void
CosNotifyChannelAdmin::StructuredProxyPushSupplier::CosNotifyChannelAdmin_StructuredProxyPushSupplier_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_StructuredProxyPushSupplier_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
  this->CosNotifyComm_StructuredPushSupplier_setup_collocation ();
}

CosNotifyChannelAdmin::StructuredProxyPushSupplier::~StructuredProxyPushSupplier (void)
{}

void 
CosNotifyChannelAdmin::StructuredProxyPushSupplier::_tao_any_destructor (void *_tao_void_pointer)
{
  StructuredProxyPushSupplier *_tao_tmp_pointer =
    static_cast<StructuredProxyPushSupplier *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr
CosNotifyChannelAdmin::StructuredProxyPushSupplier::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<StructuredProxyPushSupplier>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushSupplier:1.0",
        CosNotifyChannelAdmin__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr
CosNotifyChannelAdmin::StructuredProxyPushSupplier::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<StructuredProxyPushSupplier>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushSupplier:1.0",
        CosNotifyChannelAdmin__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr
CosNotifyChannelAdmin::StructuredProxyPushSupplier::_duplicate (StructuredProxyPushSupplier_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::StructuredProxyPushSupplier::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifySubscribe:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/StructuredPushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::StructuredProxyPushSupplier::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushSupplier:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::StructuredProxyPushSupplier::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_StructuredProxyPushSupplier[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  66,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5374), 
  ACE_NTOHL (0x72756374), 
  ACE_NTOHL (0x75726564), 
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79507573), 
  ACE_NTOHL (0x68537570), 
  ACE_NTOHL (0x706c6965), 
  ACE_NTOHL (0x723a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/StructuredProxyPushSupplier:1.0
    28,
  ACE_NTOHL (0x53747275), 
  ACE_NTOHL (0x63747572), 
  ACE_NTOHL (0x65645072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x75736853), 
  ACE_NTOHL (0x7570706c), 
  ACE_NTOHL (0x69657200),  // name = StructuredProxyPushSupplier
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_StructuredProxyPushSupplier (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_StructuredProxyPushSupplier),
    (char *) &_oc_CosNotifyChannelAdmin_StructuredProxyPushSupplier,
    0,
    sizeof (CosNotifyChannelAdmin::StructuredProxyPushSupplier)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_StructuredProxyPushSupplier =
    &_tc_TAO_tc_CosNotifyChannelAdmin_StructuredProxyPushSupplier;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::SequenceProxyPushSupplier.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPushSupplier>::tao_duplicate (
    CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr p
  )
{
  return CosNotifyChannelAdmin::SequenceProxyPushSupplier::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPushSupplier>::tao_release (
    CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPushSupplier>::tao_nil (void)
{
  return CosNotifyChannelAdmin::SequenceProxyPushSupplier::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::SequenceProxyPushSupplier>::tao_marshal (
    CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_SequenceProxyPushSupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::SequenceProxyPushSupplier::connect_sequence_push_consumer (
    ::CosNotifyComm::SequencePushConsumer_ptr push_consumer
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosEventChannelAdmin::AlreadyConnected,
    ::CosEventChannelAdmin::TypeError
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SequenceProxyPushSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SequenceProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyComm::SequencePushConsumer>::in_arg_val _tao_push_consumer (push_consumer);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_push_consumer
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SequenceProxyPushSupplier_connect_sequence_push_consumer_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosEventChannelAdmin/AlreadyConnected:1.0",
        CosEventChannelAdmin::AlreadyConnected::_alloc,
        CosEventChannelAdmin::_tc_AlreadyConnected
      },
      
      {
        "IDL:omg.org/CosEventChannelAdmin/TypeError:1.0",
        CosEventChannelAdmin::TypeError::_alloc,
        CosEventChannelAdmin::_tc_TypeError
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "connect_sequence_push_consumer",
      30,
      this->the_TAO_SequenceProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SequenceProxyPushSupplier_connect_sequence_push_consumer_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::SequenceProxyPushSupplier::suspend_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyInactive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SequenceProxyPushSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SequenceProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SequenceProxyPushSupplier_suspend_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyInactive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyInactive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyInactive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "suspend_connection",
      18,
      this->the_TAO_SequenceProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SequenceProxyPushSupplier_suspend_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::SequenceProxyPushSupplier::resume_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ConnectionAlreadyActive,
    ::CosNotifyChannelAdmin::NotConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SequenceProxyPushSupplier_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SequenceProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SequenceProxyPushSupplier_resume_connection_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ConnectionAlreadyActive:1.0",
        CosNotifyChannelAdmin::ConnectionAlreadyActive::_alloc,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyActive
      },
      
      {
        "IDL:omg.org/CosNotifyChannelAdmin/NotConnected:1.0",
        CosNotifyChannelAdmin::NotConnected::_alloc,
        CosNotifyChannelAdmin::_tc_NotConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "resume_connection",
      17,
      this->the_TAO_SequenceProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SequenceProxyPushSupplier_resume_connection_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

CosNotifyChannelAdmin::SequenceProxyPushSupplier::SequenceProxyPushSupplier (void)
 : the_TAO_SequenceProxyPushSupplier_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_SequenceProxyPushSupplier_setup_collocation ();
}

void
CosNotifyChannelAdmin::SequenceProxyPushSupplier::CosNotifyChannelAdmin_SequenceProxyPushSupplier_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_SequenceProxyPushSupplier_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_SequenceProxyPushSupplier_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_SequenceProxyPushSupplier_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotifyChannelAdmin_ProxySupplier_setup_collocation ();
  this->CosNotifyComm_SequencePushSupplier_setup_collocation ();
}

CosNotifyChannelAdmin::SequenceProxyPushSupplier::~SequenceProxyPushSupplier (void)
{}

void 
CosNotifyChannelAdmin::SequenceProxyPushSupplier::_tao_any_destructor (void *_tao_void_pointer)
{
  SequenceProxyPushSupplier *_tao_tmp_pointer =
    static_cast<SequenceProxyPushSupplier *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr
CosNotifyChannelAdmin::SequenceProxyPushSupplier::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SequenceProxyPushSupplier>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushSupplier:1.0",
        CosNotifyChannelAdmin__TAO_SequenceProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr
CosNotifyChannelAdmin::SequenceProxyPushSupplier::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SequenceProxyPushSupplier>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushSupplier:1.0",
        CosNotifyChannelAdmin__TAO_SequenceProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr
CosNotifyChannelAdmin::SequenceProxyPushSupplier::_duplicate (SequenceProxyPushSupplier_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::SequenceProxyPushSupplier::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ProxySupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifySubscribe:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/SequencePushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::SequenceProxyPushSupplier::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushSupplier:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::SequenceProxyPushSupplier::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_SequenceProxyPushSupplier[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  64,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5365), 
  ACE_NTOHL (0x7175656e), 
  ACE_NTOHL (0x63655072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x75736853), 
  ACE_NTOHL (0x7570706c), 
  ACE_NTOHL (0x6965723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/SequenceProxyPushSupplier:1.0
    26,
  ACE_NTOHL (0x53657175), 
  ACE_NTOHL (0x656e6365), 
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79507573), 
  ACE_NTOHL (0x68537570), 
  ACE_NTOHL (0x706c6965), 
  ACE_NTOHL (0x72000000),  // name = SequenceProxyPushSupplier
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_SequenceProxyPushSupplier (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_SequenceProxyPushSupplier),
    (char *) &_oc_CosNotifyChannelAdmin_SequenceProxyPushSupplier,
    0,
    sizeof (CosNotifyChannelAdmin::SequenceProxyPushSupplier)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_SequenceProxyPushSupplier =
    &_tc_TAO_tc_CosNotifyChannelAdmin_SequenceProxyPushSupplier;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ProxyID[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  46,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787949), 
  ACE_NTOHL (0x443a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxyID:1.0
    8,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79494400),  // name = ProxyID
    CORBA::tk_long,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ProxyID (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyChannelAdmin_ProxyID),
    (char *) &_oc_CosNotifyChannelAdmin_ProxyID,
    0,
    sizeof (CosNotifyChannelAdmin::ProxyID)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyID =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ProxyID;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_COSNOTIFYCHANNELADMIN_PROXYIDSEQ_CS_)
#define _COSNOTIFYCHANNELADMIN_PROXYIDSEQ_CS_

CosNotifyChannelAdmin::ProxyIDSeq::ProxyIDSeq (void)
{}

CosNotifyChannelAdmin::ProxyIDSeq::ProxyIDSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosNotifyChannelAdmin::ProxyID
      >
    (max)
{}

CosNotifyChannelAdmin::ProxyIDSeq::ProxyIDSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::Long * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosNotifyChannelAdmin::ProxyID
      >
    (max, length, buffer, release)
{}

CosNotifyChannelAdmin::ProxyIDSeq::ProxyIDSeq (
    const ProxyIDSeq &seq
  )
  : TAO_Unbounded_Sequence<
        CosNotifyChannelAdmin::ProxyID
      >
    (seq)
{}

CosNotifyChannelAdmin::ProxyIDSeq::~ProxyIDSeq (void)
{}

void CosNotifyChannelAdmin::ProxyIDSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  ProxyIDSeq * _tao_tmp_pointer =
    static_cast<ProxyIDSeq *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ProxyIDSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  49,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787949), 
  ACE_NTOHL (0x44536571), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxyIDSeq:1.0
    11,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79494453), 
  ACE_NTOHL (0x65710000),  // name = ProxyIDSeq
    CORBA::tk_sequence, // typecode kind
  88, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_alias, // typecode kind for typedefs
    72, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      46,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x79436861), 
      ACE_NTOHL (0x6e6e656c), 
      ACE_NTOHL (0x41646d69), 
      ACE_NTOHL (0x6e2f5072), 
      ACE_NTOHL (0x6f787949), 
      ACE_NTOHL (0x443a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxyID:1.0
            8,
      ACE_NTOHL (0x50726f78), 
      ACE_NTOHL (0x79494400),  // name = ProxyID
            CORBA::tk_long,


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ProxyIDSeq (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyChannelAdmin_ProxyIDSeq),
    (char *) &_oc_CosNotifyChannelAdmin_ProxyIDSeq,
    0,
    sizeof (CosNotifyChannelAdmin::ProxyIDSeq)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyIDSeq =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ProxyIDSeq;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ClientType[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  49,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f436c), 
  ACE_NTOHL (0x69656e74), 
  ACE_NTOHL (0x54797065), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ClientType:1.0
  11,
  ACE_NTOHL (0x436c6965), 
  ACE_NTOHL (0x6e745479), 
  ACE_NTOHL (0x70650000),  // name = ClientType
  3, // member count
  10,
  ACE_NTOHL (0x414e595f), 
  ACE_NTOHL (0x4556454e), 
  ACE_NTOHL (0x54000000),  // name = ANY_EVENT
  17,
  ACE_NTOHL (0x53545255), 
  ACE_NTOHL (0x43545552), 
  ACE_NTOHL (0x45445f45), 
  ACE_NTOHL (0x56454e54), 
  ACE_NTOHL (0x0),  // name = STRUCTURED_EVENT
  15,
  ACE_NTOHL (0x53455155), 
  ACE_NTOHL (0x454e4345), 
  ACE_NTOHL (0x5f455645), 
  ACE_NTOHL (0x4e540000),  // name = SEQUENCE_EVENT
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ClientType (
    CORBA::tk_enum,
    sizeof (_oc_CosNotifyChannelAdmin_ClientType),
    (char *) &_oc_CosNotifyChannelAdmin_ClientType,
    0,
    sizeof (CosNotifyChannelAdmin::ClientType)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ClientType =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ClientType;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_InterFilterGroupOperator[] =
{
  TAO_ENCAP_BYTE_ORDER, // byte order
  63,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f496e), 
  ACE_NTOHL (0x74657246), 
  ACE_NTOHL (0x696c7465), 
  ACE_NTOHL (0x7247726f), 
  ACE_NTOHL (0x75704f70), 
  ACE_NTOHL (0x65726174), 
  ACE_NTOHL (0x6f723a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/InterFilterGroupOperator:1.0
  25,
  ACE_NTOHL (0x496e7465), 
  ACE_NTOHL (0x7246696c), 
  ACE_NTOHL (0x74657247), 
  ACE_NTOHL (0x726f7570), 
  ACE_NTOHL (0x4f706572), 
  ACE_NTOHL (0x61746f72), 
  ACE_NTOHL (0x0),  // name = InterFilterGroupOperator
  2, // member count
  7,
  ACE_NTOHL (0x414e445f), 
  ACE_NTOHL (0x4f500000),  // name = AND_OP
  6,
  ACE_NTOHL (0x4f525f4f), 
  ACE_NTOHL (0x50000000),  // name = OR_OP
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_InterFilterGroupOperator (
    CORBA::tk_enum,
    sizeof (_oc_CosNotifyChannelAdmin_InterFilterGroupOperator),
    (char *) &_oc_CosNotifyChannelAdmin_InterFilterGroupOperator,
    0,
    sizeof (CosNotifyChannelAdmin::InterFilterGroupOperator)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_InterFilterGroupOperator =
    &_tc_TAO_tc_CosNotifyChannelAdmin_InterFilterGroupOperator;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_AdminID[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  46,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4164), 
  ACE_NTOHL (0x6d696e49), 
  ACE_NTOHL (0x443a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/AdminID:1.0
    8,
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e494400),  // name = AdminID
    CORBA::tk_long,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_AdminID (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyChannelAdmin_AdminID),
    (char *) &_oc_CosNotifyChannelAdmin_AdminID,
    0,
    sizeof (CosNotifyChannelAdmin::AdminID)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_AdminID =
    &_tc_TAO_tc_CosNotifyChannelAdmin_AdminID;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_COSNOTIFYCHANNELADMIN_ADMINIDSEQ_CS_)
#define _COSNOTIFYCHANNELADMIN_ADMINIDSEQ_CS_

CosNotifyChannelAdmin::AdminIDSeq::AdminIDSeq (void)
{}

CosNotifyChannelAdmin::AdminIDSeq::AdminIDSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosNotifyChannelAdmin::AdminID
      >
    (max)
{}

CosNotifyChannelAdmin::AdminIDSeq::AdminIDSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::Long * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosNotifyChannelAdmin::AdminID
      >
    (max, length, buffer, release)
{}

CosNotifyChannelAdmin::AdminIDSeq::AdminIDSeq (
    const AdminIDSeq &seq
  )
  : TAO_Unbounded_Sequence<
        CosNotifyChannelAdmin::AdminID
      >
    (seq)
{}

CosNotifyChannelAdmin::AdminIDSeq::~AdminIDSeq (void)
{}

void CosNotifyChannelAdmin::AdminIDSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  AdminIDSeq * _tao_tmp_pointer =
    static_cast<AdminIDSeq *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_AdminIDSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  49,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4164), 
  ACE_NTOHL (0x6d696e49), 
  ACE_NTOHL (0x44536571), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/AdminIDSeq:1.0
    11,
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e494453), 
  ACE_NTOHL (0x65710000),  // name = AdminIDSeq
    CORBA::tk_sequence, // typecode kind
  88, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_alias, // typecode kind for typedefs
    72, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      46,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x79436861), 
      ACE_NTOHL (0x6e6e656c), 
      ACE_NTOHL (0x41646d69), 
      ACE_NTOHL (0x6e2f4164), 
      ACE_NTOHL (0x6d696e49), 
      ACE_NTOHL (0x443a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/AdminID:1.0
            8,
      ACE_NTOHL (0x41646d69), 
      ACE_NTOHL (0x6e494400),  // name = AdminID
            CORBA::tk_long,


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_AdminIDSeq (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyChannelAdmin_AdminIDSeq),
    (char *) &_oc_CosNotifyChannelAdmin_AdminIDSeq,
    0,
    sizeof (CosNotifyChannelAdmin::AdminIDSeq)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_AdminIDSeq =
    &_tc_TAO_tc_CosNotifyChannelAdmin_AdminIDSeq;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyChannelAdmin::AdminNotFound::AdminNotFound (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyChannelAdmin/AdminNotFound:1.0",
        "AdminNotFound"
      )
{
}

CosNotifyChannelAdmin::AdminNotFound::~AdminNotFound (void)
{
}

CosNotifyChannelAdmin::AdminNotFound::AdminNotFound (const ::CosNotifyChannelAdmin::AdminNotFound &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

CosNotifyChannelAdmin::AdminNotFound&
CosNotifyChannelAdmin::AdminNotFound::operator= (const ::CosNotifyChannelAdmin::AdminNotFound &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void CosNotifyChannelAdmin::AdminNotFound::_tao_any_destructor (void *_tao_void_pointer)
{
  AdminNotFound *_tao_tmp_pointer =
    static_cast<AdminNotFound*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyChannelAdmin::AdminNotFound *
CosNotifyChannelAdmin::AdminNotFound::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyChannelAdmin/AdminNotFound:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<AdminNotFound *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyChannelAdmin::AdminNotFound::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyChannelAdmin::AdminNotFound, 0);
  return retval;
}

CORBA::Exception *
CosNotifyChannelAdmin::AdminNotFound::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyChannelAdmin::AdminNotFound (*this),
      0
    );
  return result;
}

void CosNotifyChannelAdmin::AdminNotFound::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyChannelAdmin::AdminNotFound::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyChannelAdmin::AdminNotFound::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyChannelAdmin::AdminNotFound::_type (void) const
{
  return ::CosNotifyChannelAdmin::_tc_AdminNotFound;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_AdminNotFound[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  52,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4164), 
  ACE_NTOHL (0x6d696e4e), 
  ACE_NTOHL (0x6f74466f), 
  ACE_NTOHL (0x756e643a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/AdminNotFound:1.0
    14,
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e4e6f74), 
  ACE_NTOHL (0x466f756e), 
  ACE_NTOHL (0x64000000),  // name = AdminNotFound
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_AdminNotFound (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyChannelAdmin_AdminNotFound),
    (char *) &_oc_CosNotifyChannelAdmin_AdminNotFound,
    0,
    sizeof (CosNotifyChannelAdmin::AdminNotFound)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_AdminNotFound =
    &_tc_TAO_tc_CosNotifyChannelAdmin_AdminNotFound;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyChannelAdmin::ProxyNotFound::ProxyNotFound (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyNotFound:1.0",
        "ProxyNotFound"
      )
{
}

CosNotifyChannelAdmin::ProxyNotFound::~ProxyNotFound (void)
{
}

CosNotifyChannelAdmin::ProxyNotFound::ProxyNotFound (const ::CosNotifyChannelAdmin::ProxyNotFound &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

CosNotifyChannelAdmin::ProxyNotFound&
CosNotifyChannelAdmin::ProxyNotFound::operator= (const ::CosNotifyChannelAdmin::ProxyNotFound &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void CosNotifyChannelAdmin::ProxyNotFound::_tao_any_destructor (void *_tao_void_pointer)
{
  ProxyNotFound *_tao_tmp_pointer =
    static_cast<ProxyNotFound*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyChannelAdmin::ProxyNotFound *
CosNotifyChannelAdmin::ProxyNotFound::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyChannelAdmin/ProxyNotFound:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<ProxyNotFound *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyChannelAdmin::ProxyNotFound::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyChannelAdmin::ProxyNotFound, 0);
  return retval;
}

CORBA::Exception *
CosNotifyChannelAdmin::ProxyNotFound::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyChannelAdmin::ProxyNotFound (*this),
      0
    );
  return result;
}

void CosNotifyChannelAdmin::ProxyNotFound::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyChannelAdmin::ProxyNotFound::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyChannelAdmin::ProxyNotFound::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyChannelAdmin::ProxyNotFound::_type (void) const
{
  return ::CosNotifyChannelAdmin::_tc_ProxyNotFound;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ProxyNotFound[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  52,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f78794e), 
  ACE_NTOHL (0x6f74466f), 
  ACE_NTOHL (0x756e643a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ProxyNotFound:1.0
    14,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x794e6f74), 
  ACE_NTOHL (0x466f756e), 
  ACE_NTOHL (0x64000000),  // name = ProxyNotFound
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ProxyNotFound (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyChannelAdmin_ProxyNotFound),
    (char *) &_oc_CosNotifyChannelAdmin_ProxyNotFound,
    0,
    sizeof (CosNotifyChannelAdmin::ProxyNotFound)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyNotFound =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ProxyNotFound;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_AdminLimit[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  49,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4164), 
  ACE_NTOHL (0x6d696e4c), 
  ACE_NTOHL (0x696d6974), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/AdminLimit:1.0
    11,
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e4c696d), 
  ACE_NTOHL (0x69740000),  // name = AdminLimit
  2, // member count
    5,
  ACE_NTOHL (0x6e616d65), 
  ACE_NTOHL (0x0),  // name = name
    CORBA::tk_alias, // typecode kind for typedefs
  152, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    45,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x69636174), 
    ACE_NTOHL (0x696f6e2f), 
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x4e616d65), 
    ACE_NTOHL (0x3a312e30), 
    ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/PropertyName:1.0
        13,
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x4e616d65), 
    ACE_NTOHL (0x0),  // name = PropertyName
        CORBA::tk_alias, // typecode kind for typedefs
    68, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      40,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x69636174), 
      ACE_NTOHL (0x696f6e2f), 
      ACE_NTOHL (0x49737472), 
      ACE_NTOHL (0x696e673a), 
      ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotification/Istring:1.0
            8,
      ACE_NTOHL (0x49737472), 
      ACE_NTOHL (0x696e6700),  // name = Istring
            CORBA::tk_string, 
      0U, // string length


  6,
  ACE_NTOHL (0x76616c75), 
  ACE_NTOHL (0x65000000),  // name = value
    CORBA::tk_alias, // typecode kind for typedefs
  80, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    46,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x69636174), 
    ACE_NTOHL (0x696f6e2f), 
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x56616c75), 
    ACE_NTOHL (0x653a312e), 
    ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/PropertyValue:1.0
        14,
    ACE_NTOHL (0x50726f70), 
    ACE_NTOHL (0x65727479), 
    ACE_NTOHL (0x56616c75), 
    ACE_NTOHL (0x65000000),  // name = PropertyValue
        CORBA::tk_any,


};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_AdminLimit (
    CORBA::tk_struct,
    sizeof (_oc_CosNotifyChannelAdmin_AdminLimit),
    (char *) &_oc_CosNotifyChannelAdmin_AdminLimit,
    0,
    sizeof (CosNotifyChannelAdmin::AdminLimit)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_AdminLimit =
    &_tc_TAO_tc_CosNotifyChannelAdmin_AdminLimit;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/structure_cs.cpp:66

void 
CosNotifyChannelAdmin::AdminLimit::_tao_any_destructor (
    void *_tao_void_pointer
  )
{
  AdminLimit *_tao_tmp_pointer =
    static_cast<AdminLimit *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyChannelAdmin::AdminLimitExceeded::AdminLimitExceeded (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyChannelAdmin/AdminLimitExceeded:1.0",
        "AdminLimitExceeded"
      )
{
}

CosNotifyChannelAdmin::AdminLimitExceeded::~AdminLimitExceeded (void)
{
}

CosNotifyChannelAdmin::AdminLimitExceeded::AdminLimitExceeded (const ::CosNotifyChannelAdmin::AdminLimitExceeded &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
  this->admin_property_err = _tao_excp.admin_property_err;
}

CosNotifyChannelAdmin::AdminLimitExceeded&
CosNotifyChannelAdmin::AdminLimitExceeded::operator= (const ::CosNotifyChannelAdmin::AdminLimitExceeded &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  this->admin_property_err = _tao_excp.admin_property_err;
  return *this;
}

void CosNotifyChannelAdmin::AdminLimitExceeded::_tao_any_destructor (void *_tao_void_pointer)
{
  AdminLimitExceeded *_tao_tmp_pointer =
    static_cast<AdminLimitExceeded*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyChannelAdmin::AdminLimitExceeded *
CosNotifyChannelAdmin::AdminLimitExceeded::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyChannelAdmin/AdminLimitExceeded:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<AdminLimitExceeded *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyChannelAdmin::AdminLimitExceeded::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyChannelAdmin::AdminLimitExceeded, 0);
  return retval;
}

CORBA::Exception *
CosNotifyChannelAdmin::AdminLimitExceeded::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyChannelAdmin::AdminLimitExceeded (*this),
      0
    );
  return result;
}

void CosNotifyChannelAdmin::AdminLimitExceeded::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyChannelAdmin::AdminLimitExceeded::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyChannelAdmin::AdminLimitExceeded::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}



// TAO_IDL - Generated from
// be/be_visitor_exception/exception_ctor.cpp:66

CosNotifyChannelAdmin::AdminLimitExceeded::AdminLimitExceeded (
    const CosNotifyChannelAdmin::AdminLimit & _tao_admin_property_err
  )
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyChannelAdmin/AdminLimitExceeded:1.0",
        "AdminLimitExceeded"
      )
{
  this->admin_property_err = _tao_admin_property_err;
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyChannelAdmin::AdminLimitExceeded::_type (void) const
{
  return ::CosNotifyChannelAdmin::_tc_AdminLimitExceeded;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_AdminLimitExceeded[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  57,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4164), 
  ACE_NTOHL (0x6d696e4c), 
  ACE_NTOHL (0x696d6974), 
  ACE_NTOHL (0x45786365), 
  ACE_NTOHL (0x65646564), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/AdminLimitExceeded:1.0
    19,
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e4c696d), 
  ACE_NTOHL (0x69744578), 
  ACE_NTOHL (0x63656564), 
  ACE_NTOHL (0x65640000),  // name = AdminLimitExceeded
  1, // member count
    19,
  ACE_NTOHL (0x61646d69), 
  ACE_NTOHL (0x6e5f7072), 
  ACE_NTOHL (0x6f706572), 
  ACE_NTOHL (0x74795f65), 
  ACE_NTOHL (0x72720000),  // name = admin_property_err
    CORBA::tk_struct, // typecode kind
  352, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    49,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x6f6d672e), 
    ACE_NTOHL (0x6f72672f), 
    ACE_NTOHL (0x436f734e), 
    ACE_NTOHL (0x6f746966), 
    ACE_NTOHL (0x79436861), 
    ACE_NTOHL (0x6e6e656c), 
    ACE_NTOHL (0x41646d69), 
    ACE_NTOHL (0x6e2f4164), 
    ACE_NTOHL (0x6d696e4c), 
    ACE_NTOHL (0x696d6974), 
    ACE_NTOHL (0x3a312e30), 
    ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/AdminLimit:1.0
        11,
    ACE_NTOHL (0x41646d69), 
    ACE_NTOHL (0x6e4c696d), 
    ACE_NTOHL (0x69740000),  // name = AdminLimit
    2, // member count
        5,
    ACE_NTOHL (0x6e616d65), 
    ACE_NTOHL (0x0),  // name = name
        CORBA::tk_alias, // typecode kind for typedefs
    152, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      45,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x69636174), 
      ACE_NTOHL (0x696f6e2f), 
      ACE_NTOHL (0x50726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x4e616d65), 
      ACE_NTOHL (0x3a312e30), 
      ACE_NTOHL (0x0),  // repository ID = IDL:omg.org/CosNotification/PropertyName:1.0
            13,
      ACE_NTOHL (0x50726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x4e616d65), 
      ACE_NTOHL (0x0),  // name = PropertyName
            CORBA::tk_alias, // typecode kind for typedefs
      68, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        40,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x6f6d672e), 
        ACE_NTOHL (0x6f72672f), 
        ACE_NTOHL (0x436f734e), 
        ACE_NTOHL (0x6f746966), 
        ACE_NTOHL (0x69636174), 
        ACE_NTOHL (0x696f6e2f), 
        ACE_NTOHL (0x49737472), 
        ACE_NTOHL (0x696e673a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotification/Istring:1.0
                8,
        ACE_NTOHL (0x49737472), 
        ACE_NTOHL (0x696e6700),  // name = Istring
                CORBA::tk_string, 
        0U, // string length


    6,
    ACE_NTOHL (0x76616c75), 
    ACE_NTOHL (0x65000000),  // name = value
        CORBA::tk_alias, // typecode kind for typedefs
    80, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      46,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x69636174), 
      ACE_NTOHL (0x696f6e2f), 
      ACE_NTOHL (0x50726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x56616c75), 
      ACE_NTOHL (0x653a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotification/PropertyValue:1.0
            14,
      ACE_NTOHL (0x50726f70), 
      ACE_NTOHL (0x65727479), 
      ACE_NTOHL (0x56616c75), 
      ACE_NTOHL (0x65000000),  // name = PropertyValue
            CORBA::tk_any,



};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_AdminLimitExceeded (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyChannelAdmin_AdminLimitExceeded),
    (char *) &_oc_CosNotifyChannelAdmin_AdminLimitExceeded,
    0,
    sizeof (CosNotifyChannelAdmin::AdminLimitExceeded)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_AdminLimitExceeded =
    &_tc_TAO_tc_CosNotifyChannelAdmin_AdminLimitExceeded;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::ConsumerAdmin.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ConsumerAdmin_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ConsumerAdmin>::tao_duplicate (
    CosNotifyChannelAdmin::ConsumerAdmin_ptr p
  )
{
  return CosNotifyChannelAdmin::ConsumerAdmin::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::ConsumerAdmin>::tao_release (
    CosNotifyChannelAdmin::ConsumerAdmin_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::ConsumerAdmin_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::ConsumerAdmin>::tao_nil (void)
{
  return CosNotifyChannelAdmin::ConsumerAdmin::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::ConsumerAdmin>::tao_marshal (
    CosNotifyChannelAdmin::ConsumerAdmin_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

CosNotifyChannelAdmin::AdminID CosNotifyChannelAdmin::ConsumerAdmin::MyID (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< CosNotifyChannelAdmin::AdminID>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyID",
      9,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::EventChannel_ptr CosNotifyChannelAdmin::ConsumerAdmin::MyChannel (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::EventChannel>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyChannel",
      14,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::InterFilterGroupOperator CosNotifyChannelAdmin::ConsumerAdmin::MyOperator (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::InterFilterGroupOperator>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyOperator",
      15,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyFilter::MappingFilter_ptr CosNotifyChannelAdmin::ConsumerAdmin::priority_filter (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::MappingFilter>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_priority_filter",
      20,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ConsumerAdmin::priority_filter (
    ::CosNotifyFilter::MappingFilter_ptr priority_filter
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::MappingFilter>::in_arg_val _tao_priority_filter (priority_filter);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_priority_filter
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "_set_priority_filter",
      20,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyFilter::MappingFilter_ptr CosNotifyChannelAdmin::ConsumerAdmin::lifetime_filter (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::MappingFilter>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_lifetime_filter",
      20,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ConsumerAdmin::lifetime_filter (
    ::CosNotifyFilter::MappingFilter_ptr lifetime_filter
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyFilter::MappingFilter>::in_arg_val _tao_lifetime_filter (lifetime_filter);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_lifetime_filter
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "_set_lifetime_filter",
      20,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxyIDSeq * CosNotifyChannelAdmin::ConsumerAdmin::pull_suppliers (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxyIDSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_pull_suppliers",
      19,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxyIDSeq * CosNotifyChannelAdmin::ConsumerAdmin::push_suppliers (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxyIDSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_push_suppliers",
      19,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxySupplier_ptr CosNotifyChannelAdmin::ConsumerAdmin::get_proxy_supplier (
    ::CosNotifyChannelAdmin::ProxyID proxy_id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ProxyNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxySupplier>::ret_val _tao_retval;
  TAO::Arg_Traits< CosNotifyChannelAdmin::ProxyID>::in_arg_val _tao_proxy_id (proxy_id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_proxy_id
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ConsumerAdmin_get_proxy_supplier_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyNotFound:1.0",
        CosNotifyChannelAdmin::ProxyNotFound::_alloc,
        CosNotifyChannelAdmin::_tc_ProxyNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_proxy_supplier",
      18,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ConsumerAdmin_get_proxy_supplier_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxySupplier_ptr CosNotifyChannelAdmin::ConsumerAdmin::obtain_notification_pull_supplier (
    ::CosNotifyChannelAdmin::ClientType ctype,
    ::CosNotifyChannelAdmin::ProxyID_out proxy_id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::AdminLimitExceeded
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxySupplier>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ClientType>::in_arg_val _tao_ctype (ctype);
  TAO::Arg_Traits< CosNotifyChannelAdmin::ProxyID>::out_arg_val _tao_proxy_id (proxy_id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_ctype,
      &_tao_proxy_id
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ConsumerAdmin_obtain_notification_pull_supplier_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/AdminLimitExceeded:1.0",
        CosNotifyChannelAdmin::AdminLimitExceeded::_alloc,
        CosNotifyChannelAdmin::_tc_AdminLimitExceeded
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "obtain_notification_pull_supplier",
      33,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ConsumerAdmin_obtain_notification_pull_supplier_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxySupplier_ptr CosNotifyChannelAdmin::ConsumerAdmin::obtain_notification_push_supplier (
    ::CosNotifyChannelAdmin::ClientType ctype,
    ::CosNotifyChannelAdmin::ProxyID_out proxy_id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::AdminLimitExceeded
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxySupplier>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ClientType>::in_arg_val _tao_ctype (ctype);
  TAO::Arg_Traits< CosNotifyChannelAdmin::ProxyID>::out_arg_val _tao_proxy_id (proxy_id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_ctype,
      &_tao_proxy_id
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_ConsumerAdmin_obtain_notification_push_supplier_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/AdminLimitExceeded:1.0",
        CosNotifyChannelAdmin::AdminLimitExceeded::_alloc,
        CosNotifyChannelAdmin::_tc_AdminLimitExceeded
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "obtain_notification_push_supplier",
      33,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_ConsumerAdmin_obtain_notification_push_supplier_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::ConsumerAdmin::destroy (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "destroy",
      7,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

CosNotifyChannelAdmin::ConsumerAdmin::ConsumerAdmin (void)
 : the_TAO_ConsumerAdmin_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ();
}

void
CosNotifyChannelAdmin::ConsumerAdmin::CosNotifyChannelAdmin_ConsumerAdmin_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ConsumerAdmin_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotification_QoSAdmin_setup_collocation ();
  this->CosNotifyComm_NotifySubscribe_setup_collocation ();
  this->CosNotifyFilter_FilterAdmin_setup_collocation ();
  this->CosEventChannelAdmin_ConsumerAdmin_setup_collocation ();
}

CosNotifyChannelAdmin::ConsumerAdmin::~ConsumerAdmin (void)
{}

void 
CosNotifyChannelAdmin::ConsumerAdmin::_tao_any_destructor (void *_tao_void_pointer)
{
  ConsumerAdmin *_tao_tmp_pointer =
    static_cast<ConsumerAdmin *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::ConsumerAdmin_ptr
CosNotifyChannelAdmin::ConsumerAdmin::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ConsumerAdmin>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ConsumerAdmin:1.0",
        CosNotifyChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ConsumerAdmin_ptr
CosNotifyChannelAdmin::ConsumerAdmin::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ConsumerAdmin>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/ConsumerAdmin:1.0",
        CosNotifyChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::ConsumerAdmin_ptr
CosNotifyChannelAdmin::ConsumerAdmin::_duplicate (ConsumerAdmin_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::ConsumerAdmin::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifySubscribe:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosEventChannelAdmin/ConsumerAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/ConsumerAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::ConsumerAdmin::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/ConsumerAdmin:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::ConsumerAdmin::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ConsumerAdmin[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  52,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f436f), 
  ACE_NTOHL (0x6e73756d), 
  ACE_NTOHL (0x65724164), 
  ACE_NTOHL (0x6d696e3a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ConsumerAdmin:1.0
    14,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x756d6572), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e000000),  // name = ConsumerAdmin
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ConsumerAdmin (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_ConsumerAdmin),
    (char *) &_oc_CosNotifyChannelAdmin_ConsumerAdmin,
    0,
    sizeof (CosNotifyChannelAdmin::ConsumerAdmin)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ConsumerAdmin =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ConsumerAdmin;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::SupplierAdmin.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::SupplierAdmin_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::SupplierAdmin>::tao_duplicate (
    CosNotifyChannelAdmin::SupplierAdmin_ptr p
  )
{
  return CosNotifyChannelAdmin::SupplierAdmin::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::SupplierAdmin>::tao_release (
    CosNotifyChannelAdmin::SupplierAdmin_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::SupplierAdmin_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::SupplierAdmin>::tao_nil (void)
{
  return CosNotifyChannelAdmin::SupplierAdmin::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::SupplierAdmin>::tao_marshal (
    CosNotifyChannelAdmin::SupplierAdmin_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

CosNotifyChannelAdmin::AdminID CosNotifyChannelAdmin::SupplierAdmin::MyID (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SupplierAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< CosNotifyChannelAdmin::AdminID>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyID",
      9,
      this->the_TAO_SupplierAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::EventChannel_ptr CosNotifyChannelAdmin::SupplierAdmin::MyChannel (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SupplierAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::EventChannel>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyChannel",
      14,
      this->the_TAO_SupplierAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::InterFilterGroupOperator CosNotifyChannelAdmin::SupplierAdmin::MyOperator (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SupplierAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::InterFilterGroupOperator>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyOperator",
      15,
      this->the_TAO_SupplierAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxyIDSeq * CosNotifyChannelAdmin::SupplierAdmin::pull_consumers (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SupplierAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxyIDSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_pull_consumers",
      19,
      this->the_TAO_SupplierAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxyIDSeq * CosNotifyChannelAdmin::SupplierAdmin::push_consumers (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SupplierAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxyIDSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_push_consumers",
      19,
      this->the_TAO_SupplierAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxyConsumer_ptr CosNotifyChannelAdmin::SupplierAdmin::get_proxy_consumer (
    ::CosNotifyChannelAdmin::ProxyID proxy_id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ProxyNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SupplierAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxyConsumer>::ret_val _tao_retval;
  TAO::Arg_Traits< CosNotifyChannelAdmin::ProxyID>::in_arg_val _tao_proxy_id (proxy_id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_proxy_id
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SupplierAdmin_get_proxy_consumer_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ProxyNotFound:1.0",
        CosNotifyChannelAdmin::ProxyNotFound::_alloc,
        CosNotifyChannelAdmin::_tc_ProxyNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_proxy_consumer",
      18,
      this->the_TAO_SupplierAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SupplierAdmin_get_proxy_consumer_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxyConsumer_ptr CosNotifyChannelAdmin::SupplierAdmin::obtain_notification_pull_consumer (
    ::CosNotifyChannelAdmin::ClientType ctype,
    ::CosNotifyChannelAdmin::ProxyID_out proxy_id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::AdminLimitExceeded
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SupplierAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxyConsumer>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ClientType>::in_arg_val _tao_ctype (ctype);
  TAO::Arg_Traits< CosNotifyChannelAdmin::ProxyID>::out_arg_val _tao_proxy_id (proxy_id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_ctype,
      &_tao_proxy_id
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SupplierAdmin_obtain_notification_pull_consumer_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/AdminLimitExceeded:1.0",
        CosNotifyChannelAdmin::AdminLimitExceeded::_alloc,
        CosNotifyChannelAdmin::_tc_AdminLimitExceeded
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "obtain_notification_pull_consumer",
      33,
      this->the_TAO_SupplierAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SupplierAdmin_obtain_notification_pull_consumer_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ProxyConsumer_ptr CosNotifyChannelAdmin::SupplierAdmin::obtain_notification_push_consumer (
    ::CosNotifyChannelAdmin::ClientType ctype,
    ::CosNotifyChannelAdmin::ProxyID_out proxy_id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::AdminLimitExceeded
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SupplierAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ProxyConsumer>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ClientType>::in_arg_val _tao_ctype (ctype);
  TAO::Arg_Traits< CosNotifyChannelAdmin::ProxyID>::out_arg_val _tao_proxy_id (proxy_id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_ctype,
      &_tao_proxy_id
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_SupplierAdmin_obtain_notification_push_consumer_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/AdminLimitExceeded:1.0",
        CosNotifyChannelAdmin::AdminLimitExceeded::_alloc,
        CosNotifyChannelAdmin::_tc_AdminLimitExceeded
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "obtain_notification_push_consumer",
      33,
      this->the_TAO_SupplierAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_SupplierAdmin_obtain_notification_push_consumer_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void CosNotifyChannelAdmin::SupplierAdmin::destroy (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SupplierAdmin_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "destroy",
      7,
      this->the_TAO_SupplierAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

CosNotifyChannelAdmin::SupplierAdmin::SupplierAdmin (void)
 : the_TAO_SupplierAdmin_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ();
}

void
CosNotifyChannelAdmin::SupplierAdmin::CosNotifyChannelAdmin_SupplierAdmin_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_SupplierAdmin_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotification_QoSAdmin_setup_collocation ();
  this->CosNotifyComm_NotifyPublish_setup_collocation ();
  this->CosNotifyFilter_FilterAdmin_setup_collocation ();
  this->CosEventChannelAdmin_SupplierAdmin_setup_collocation ();
}

CosNotifyChannelAdmin::SupplierAdmin::~SupplierAdmin (void)
{}

void 
CosNotifyChannelAdmin::SupplierAdmin::_tao_any_destructor (void *_tao_void_pointer)
{
  SupplierAdmin *_tao_tmp_pointer =
    static_cast<SupplierAdmin *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::SupplierAdmin_ptr
CosNotifyChannelAdmin::SupplierAdmin::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SupplierAdmin>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/SupplierAdmin:1.0",
        CosNotifyChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::SupplierAdmin_ptr
CosNotifyChannelAdmin::SupplierAdmin::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SupplierAdmin>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/SupplierAdmin:1.0",
        CosNotifyChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::SupplierAdmin_ptr
CosNotifyChannelAdmin::SupplierAdmin::_duplicate (SupplierAdmin_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::SupplierAdmin::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyComm/NotifyPublish:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyFilter/FilterAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosEventChannelAdmin/SupplierAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/SupplierAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::SupplierAdmin::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/SupplierAdmin:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::SupplierAdmin::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_SupplierAdmin[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  52,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5375), 
  ACE_NTOHL (0x70706c69), 
  ACE_NTOHL (0x65724164), 
  ACE_NTOHL (0x6d696e3a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/SupplierAdmin:1.0
    14,
  ACE_NTOHL (0x53757070), 
  ACE_NTOHL (0x6c696572), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e000000),  // name = SupplierAdmin
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_SupplierAdmin (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_SupplierAdmin),
    (char *) &_oc_CosNotifyChannelAdmin_SupplierAdmin,
    0,
    sizeof (CosNotifyChannelAdmin::SupplierAdmin)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_SupplierAdmin =
    &_tc_TAO_tc_CosNotifyChannelAdmin_SupplierAdmin;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::EventChannel.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::EventChannel_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::EventChannel>::tao_duplicate (
    CosNotifyChannelAdmin::EventChannel_ptr p
  )
{
  return CosNotifyChannelAdmin::EventChannel::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::EventChannel>::tao_release (
    CosNotifyChannelAdmin::EventChannel_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::EventChannel_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::EventChannel>::tao_nil (void)
{
  return CosNotifyChannelAdmin::EventChannel::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::EventChannel>::tao_marshal (
    CosNotifyChannelAdmin::EventChannel_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::EventChannelFactory_ptr CosNotifyChannelAdmin::EventChannel::MyFactory (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::EventChannelFactory>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_MyFactory",
      14,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ConsumerAdmin_ptr CosNotifyChannelAdmin::EventChannel::default_consumer_admin (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ConsumerAdmin>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_default_consumer_admin",
      27,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::SupplierAdmin_ptr CosNotifyChannelAdmin::EventChannel::default_supplier_admin (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::SupplierAdmin>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_default_supplier_admin",
      27,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyFilter::FilterFactory_ptr CosNotifyChannelAdmin::EventChannel::default_filter_factory (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyFilter::FilterFactory>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "_get_default_filter_factory",
      27,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ConsumerAdmin_ptr CosNotifyChannelAdmin::EventChannel::new_for_consumers (
    ::CosNotifyChannelAdmin::InterFilterGroupOperator op,
    ::CosNotifyChannelAdmin::AdminID_out id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ConsumerAdmin>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::InterFilterGroupOperator>::in_arg_val _tao_op (op);
  TAO::Arg_Traits< CosNotifyChannelAdmin::AdminID>::out_arg_val _tao_id (id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_op,
      &_tao_id
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "new_for_consumers",
      17,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::SupplierAdmin_ptr CosNotifyChannelAdmin::EventChannel::new_for_suppliers (
    ::CosNotifyChannelAdmin::InterFilterGroupOperator op,
    ::CosNotifyChannelAdmin::AdminID_out id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::SupplierAdmin>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::InterFilterGroupOperator>::in_arg_val _tao_op (op);
  TAO::Arg_Traits< CosNotifyChannelAdmin::AdminID>::out_arg_val _tao_id (id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_op,
      &_tao_id
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "new_for_suppliers",
      17,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ConsumerAdmin_ptr CosNotifyChannelAdmin::EventChannel::get_consumeradmin (
    ::CosNotifyChannelAdmin::AdminID id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::AdminNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ConsumerAdmin>::ret_val _tao_retval;
  TAO::Arg_Traits< CosNotifyChannelAdmin::AdminID>::in_arg_val _tao_id (id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_id
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_EventChannel_get_consumeradmin_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/AdminNotFound:1.0",
        CosNotifyChannelAdmin::AdminNotFound::_alloc,
        CosNotifyChannelAdmin::_tc_AdminNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_consumeradmin",
      17,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_EventChannel_get_consumeradmin_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::SupplierAdmin_ptr CosNotifyChannelAdmin::EventChannel::get_supplieradmin (
    ::CosNotifyChannelAdmin::AdminID id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::AdminNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::SupplierAdmin>::ret_val _tao_retval;
  TAO::Arg_Traits< CosNotifyChannelAdmin::AdminID>::in_arg_val _tao_id (id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_id
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_EventChannel_get_supplieradmin_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/AdminNotFound:1.0",
        CosNotifyChannelAdmin::AdminNotFound::_alloc,
        CosNotifyChannelAdmin::_tc_AdminNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_supplieradmin",
      17,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_EventChannel_get_supplieradmin_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::AdminIDSeq * CosNotifyChannelAdmin::EventChannel::get_all_consumeradmins (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::AdminIDSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "get_all_consumeradmins",
      22,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::AdminIDSeq * CosNotifyChannelAdmin::EventChannel::get_all_supplieradmins (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::AdminIDSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "get_all_supplieradmins",
      22,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

CosNotifyChannelAdmin::EventChannel::EventChannel (void)
 : the_TAO_EventChannel_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_EventChannel_setup_collocation ();
}

void
CosNotifyChannelAdmin::EventChannel::CosNotifyChannelAdmin_EventChannel_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_EventChannel_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->CosNotification_QoSAdmin_setup_collocation ();
  this->CosNotification_AdminPropertiesAdmin_setup_collocation ();
  this->CosEventChannelAdmin_EventChannel_setup_collocation ();
}

CosNotifyChannelAdmin::EventChannel::~EventChannel (void)
{}

void 
CosNotifyChannelAdmin::EventChannel::_tao_any_destructor (void *_tao_void_pointer)
{
  EventChannel *_tao_tmp_pointer =
    static_cast<EventChannel *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::EventChannel_ptr
CosNotifyChannelAdmin::EventChannel::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<EventChannel>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0",
        CosNotifyChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::EventChannel_ptr
CosNotifyChannelAdmin::EventChannel::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<EventChannel>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0",
        CosNotifyChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::EventChannel_ptr
CosNotifyChannelAdmin::EventChannel::_duplicate (EventChannel_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::EventChannel::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/QoSAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotification/AdminPropertiesAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosEventChannelAdmin/EventChannel:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::EventChannel::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::EventChannel::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_EventChannel[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  51,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4576), 
  ACE_NTOHL (0x656e7443), 
  ACE_NTOHL (0x68616e6e), 
  ACE_NTOHL (0x656c3a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/EventChannel:1.0
    13,
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x0),  // name = EventChannel
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_EventChannel (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_EventChannel),
    (char *) &_oc_CosNotifyChannelAdmin_EventChannel,
    0,
    sizeof (CosNotifyChannelAdmin::EventChannel)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_EventChannel =
    &_tc_TAO_tc_CosNotifyChannelAdmin_EventChannel;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ChannelID[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  48,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4368), 
  ACE_NTOHL (0x616e6e65), 
  ACE_NTOHL (0x6c49443a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ChannelID:1.0
    10,
  ACE_NTOHL (0x4368616e), 
  ACE_NTOHL (0x6e656c49), 
  ACE_NTOHL (0x44000000),  // name = ChannelID
    CORBA::tk_long,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ChannelID (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyChannelAdmin_ChannelID),
    (char *) &_oc_CosNotifyChannelAdmin_ChannelID,
    0,
    sizeof (CosNotifyChannelAdmin::ChannelID)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ChannelID =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ChannelID;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_COSNOTIFYCHANNELADMIN_CHANNELIDSEQ_CS_)
#define _COSNOTIFYCHANNELADMIN_CHANNELIDSEQ_CS_

CosNotifyChannelAdmin::ChannelIDSeq::ChannelIDSeq (void)
{}

CosNotifyChannelAdmin::ChannelIDSeq::ChannelIDSeq (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        CosNotifyChannelAdmin::ChannelID
      >
    (max)
{}

CosNotifyChannelAdmin::ChannelIDSeq::ChannelIDSeq (
    CORBA::ULong max,
    CORBA::ULong length,
    CORBA::Long * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        CosNotifyChannelAdmin::ChannelID
      >
    (max, length, buffer, release)
{}

CosNotifyChannelAdmin::ChannelIDSeq::ChannelIDSeq (
    const ChannelIDSeq &seq
  )
  : TAO_Unbounded_Sequence<
        CosNotifyChannelAdmin::ChannelID
      >
    (seq)
{}

CosNotifyChannelAdmin::ChannelIDSeq::~ChannelIDSeq (void)
{}

void CosNotifyChannelAdmin::ChannelIDSeq::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  ChannelIDSeq * _tao_tmp_pointer =
    static_cast<ChannelIDSeq *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ChannelIDSeq[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  51,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4368), 
  ACE_NTOHL (0x616e6e65), 
  ACE_NTOHL (0x6c494453), 
  ACE_NTOHL (0x65713a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ChannelIDSeq:1.0
    13,
  ACE_NTOHL (0x4368616e), 
  ACE_NTOHL (0x6e656c49), 
  ACE_NTOHL (0x44536571), 
  ACE_NTOHL (0x0),  // name = ChannelIDSeq
    CORBA::tk_sequence, // typecode kind
  92, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_alias, // typecode kind for typedefs
    76, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      48,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x6f6d672e), 
      ACE_NTOHL (0x6f72672f), 
      ACE_NTOHL (0x436f734e), 
      ACE_NTOHL (0x6f746966), 
      ACE_NTOHL (0x79436861), 
      ACE_NTOHL (0x6e6e656c), 
      ACE_NTOHL (0x41646d69), 
      ACE_NTOHL (0x6e2f4368), 
      ACE_NTOHL (0x616e6e65), 
      ACE_NTOHL (0x6c49443a), 
      ACE_NTOHL (0x312e3000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ChannelID:1.0
            10,
      ACE_NTOHL (0x4368616e), 
      ACE_NTOHL (0x6e656c49), 
      ACE_NTOHL (0x44000000),  // name = ChannelID
            CORBA::tk_long,


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ChannelIDSeq (
    CORBA::tk_alias,
    sizeof (_oc_CosNotifyChannelAdmin_ChannelIDSeq),
    (char *) &_oc_CosNotifyChannelAdmin_ChannelIDSeq,
    0,
    sizeof (CosNotifyChannelAdmin::ChannelIDSeq)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ChannelIDSeq =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ChannelIDSeq;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

CosNotifyChannelAdmin::ChannelNotFound::ChannelNotFound (void)
  : CORBA::UserException (
        "IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0",
        "ChannelNotFound"
      )
{
}

CosNotifyChannelAdmin::ChannelNotFound::~ChannelNotFound (void)
{
}

CosNotifyChannelAdmin::ChannelNotFound::ChannelNotFound (const ::CosNotifyChannelAdmin::ChannelNotFound &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

CosNotifyChannelAdmin::ChannelNotFound&
CosNotifyChannelAdmin::ChannelNotFound::operator= (const ::CosNotifyChannelAdmin::ChannelNotFound &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void CosNotifyChannelAdmin::ChannelNotFound::_tao_any_destructor (void *_tao_void_pointer)
{
  ChannelNotFound *_tao_tmp_pointer =
    static_cast<ChannelNotFound*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

CosNotifyChannelAdmin::ChannelNotFound *
CosNotifyChannelAdmin::ChannelNotFound::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<ChannelNotFound *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *CosNotifyChannelAdmin::ChannelNotFound::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::CosNotifyChannelAdmin::ChannelNotFound, 0);
  return retval;
}

CORBA::Exception *
CosNotifyChannelAdmin::ChannelNotFound::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::CosNotifyChannelAdmin::ChannelNotFound (*this),
      0
    );
  return result;
}

void CosNotifyChannelAdmin::ChannelNotFound::_raise (void) const
{
  TAO_RAISE (*this);
}

void CosNotifyChannelAdmin::ChannelNotFound::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void CosNotifyChannelAdmin::ChannelNotFound::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr CosNotifyChannelAdmin::ChannelNotFound::_type (void) const
{
  return ::CosNotifyChannelAdmin::_tc_ChannelNotFound;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_ChannelNotFound[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  54,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4368), 
  ACE_NTOHL (0x616e6e65), 
  ACE_NTOHL (0x6c4e6f74), 
  ACE_NTOHL (0x466f756e), 
  ACE_NTOHL (0x643a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0
    16,
  ACE_NTOHL (0x4368616e), 
  ACE_NTOHL (0x6e656c4e), 
  ACE_NTOHL (0x6f74466f), 
  ACE_NTOHL (0x756e6400),  // name = ChannelNotFound
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_ChannelNotFound (
    CORBA::tk_except,
    sizeof (_oc_CosNotifyChannelAdmin_ChannelNotFound),
    (char *) &_oc_CosNotifyChannelAdmin_ChannelNotFound,
    0,
    sizeof (CosNotifyChannelAdmin::ChannelNotFound)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ChannelNotFound =
    &_tc_TAO_tc_CosNotifyChannelAdmin_ChannelNotFound;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for CosNotifyChannelAdmin::EventChannelFactory.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::EventChannelFactory_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::EventChannelFactory>::tao_duplicate (
    CosNotifyChannelAdmin::EventChannelFactory_ptr p
  )
{
  return CosNotifyChannelAdmin::EventChannelFactory::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<CosNotifyChannelAdmin::EventChannelFactory>::tao_release (
    CosNotifyChannelAdmin::EventChannelFactory_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CosNotifyChannelAdmin::EventChannelFactory_ptr
TAO::Objref_Traits<CosNotifyChannelAdmin::EventChannelFactory>::tao_nil (void)
{
  return CosNotifyChannelAdmin::EventChannelFactory::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<CosNotifyChannelAdmin::EventChannelFactory>::tao_marshal (
    CosNotifyChannelAdmin::EventChannelFactory_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*CosNotifyChannelAdmin__TAO_EventChannelFactory_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::EventChannel_ptr CosNotifyChannelAdmin::EventChannelFactory::create_channel (
    const ::CosNotification::QoSProperties & initial_qos,
    const ::CosNotification::AdminProperties & initial_admin,
    ::CosNotifyChannelAdmin::ChannelID_out id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotification::UnsupportedQoS,
    ::CosNotification::UnsupportedAdmin
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannelFactory_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannelFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::EventChannel>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CosNotification::QoSProperties>::in_arg_val _tao_initial_qos (initial_qos);
  TAO::Arg_Traits< ::CosNotification::AdminProperties>::in_arg_val _tao_initial_admin (initial_admin);
  TAO::Arg_Traits< CosNotifyChannelAdmin::ChannelID>::out_arg_val _tao_id (id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_initial_qos,
      &_tao_initial_admin,
      &_tao_id
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_EventChannelFactory_create_channel_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotification/UnsupportedQoS:1.0",
        CosNotification::UnsupportedQoS::_alloc,
        CosNotification::_tc_UnsupportedQoS
      },
      
      {
        "IDL:omg.org/CosNotification/UnsupportedAdmin:1.0",
        CosNotification::UnsupportedAdmin::_alloc,
        CosNotification::_tc_UnsupportedAdmin
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      4,
      "create_channel",
      14,
      this->the_TAO_EventChannelFactory_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_EventChannelFactory_create_channel_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::ChannelIDSeq * CosNotifyChannelAdmin::EventChannelFactory::get_all_channels (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannelFactory_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannelFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::ChannelIDSeq>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "get_all_channels",
      16,
      this->the_TAO_EventChannelFactory_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::CosNotifyChannelAdmin::EventChannel_ptr CosNotifyChannelAdmin::EventChannelFactory::get_event_channel (
    ::CosNotifyChannelAdmin::ChannelID id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosNotifyChannelAdmin::ChannelNotFound
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannelFactory_Proxy_Broker_ == 0)
    {
      CosNotifyChannelAdmin_EventChannelFactory_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::CosNotifyChannelAdmin::EventChannel>::ret_val _tao_retval;
  TAO::Arg_Traits< CosNotifyChannelAdmin::ChannelID>::in_arg_val _tao_id (id);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_id
    };
  
  static TAO::Exception_Data
  _tao_CosNotifyChannelAdmin_EventChannelFactory_get_event_channel_exceptiondata [] = 
    {
      {
        "IDL:omg.org/CosNotifyChannelAdmin/ChannelNotFound:1.0",
        CosNotifyChannelAdmin::ChannelNotFound::_alloc,
        CosNotifyChannelAdmin::_tc_ChannelNotFound
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "get_event_channel",
      17,
      this->the_TAO_EventChannelFactory_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_CosNotifyChannelAdmin_EventChannelFactory_get_event_channel_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

CosNotifyChannelAdmin::EventChannelFactory::EventChannelFactory (void)
 : the_TAO_EventChannelFactory_Proxy_Broker_ (0)
{
  this->CosNotifyChannelAdmin_EventChannelFactory_setup_collocation ();
}

void
CosNotifyChannelAdmin::EventChannelFactory::CosNotifyChannelAdmin_EventChannelFactory_setup_collocation ()
{
  if (::CosNotifyChannelAdmin__TAO_EventChannelFactory_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_EventChannelFactory_Proxy_Broker_ =
        ::CosNotifyChannelAdmin__TAO_EventChannelFactory_Proxy_Broker_Factory_function_pointer (this);
    }
}

CosNotifyChannelAdmin::EventChannelFactory::~EventChannelFactory (void)
{}

void 
CosNotifyChannelAdmin::EventChannelFactory::_tao_any_destructor (void *_tao_void_pointer)
{
  EventChannelFactory *_tao_tmp_pointer =
    static_cast<EventChannelFactory *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

CosNotifyChannelAdmin::EventChannelFactory_ptr
CosNotifyChannelAdmin::EventChannelFactory::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<EventChannelFactory>::narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/EventChannelFactory:1.0",
        CosNotifyChannelAdmin__TAO_EventChannelFactory_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::EventChannelFactory_ptr
CosNotifyChannelAdmin::EventChannelFactory::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<EventChannelFactory>::unchecked_narrow (
        _tao_objref,
        "IDL:omg.org/CosNotifyChannelAdmin/EventChannelFactory:1.0",
        CosNotifyChannelAdmin__TAO_EventChannelFactory_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

CosNotifyChannelAdmin::EventChannelFactory_ptr
CosNotifyChannelAdmin::EventChannelFactory::_duplicate (EventChannelFactory_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
CosNotifyChannelAdmin::EventChannelFactory::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CosNotifyChannelAdmin/EventChannelFactory:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* CosNotifyChannelAdmin::EventChannelFactory::_interface_repository_id (void) const
{
  return "IDL:omg.org/CosNotifyChannelAdmin/EventChannelFactory:1.0";
}

CORBA::Boolean
CosNotifyChannelAdmin::EventChannelFactory::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_CosNotifyChannelAdmin_EventChannelFactory[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  58,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x6f6d672e), 
  ACE_NTOHL (0x6f72672f), 
  ACE_NTOHL (0x436f734e), 
  ACE_NTOHL (0x6f746966), 
  ACE_NTOHL (0x79436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4576), 
  ACE_NTOHL (0x656e7443), 
  ACE_NTOHL (0x68616e6e), 
  ACE_NTOHL (0x656c4661), 
  ACE_NTOHL (0x63746f72), 
  ACE_NTOHL (0x793a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:omg.org/CosNotifyChannelAdmin/EventChannelFactory:1.0
    20,
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x46616374), 
  ACE_NTOHL (0x6f727900),  // name = EventChannelFactory
  };

static CORBA::TypeCode _tc_TAO_tc_CosNotifyChannelAdmin_EventChannelFactory (
    CORBA::tk_objref,
    sizeof (_oc_CosNotifyChannelAdmin_EventChannelFactory),
    (char *) &_oc_CosNotifyChannelAdmin_EventChannelFactory,
    0,
    sizeof (CosNotifyChannelAdmin::EventChannelFactory)
  );

namespace CosNotifyChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_EventChannelFactory =
    &_tc_TAO_tc_CosNotifyChannelAdmin_EventChannelFactory;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ConnectionAlreadyActive>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ConnectionAlreadyActive &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ConnectionAlreadyActive>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::ConnectionAlreadyActive::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ConnectionAlreadyActive,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ConnectionAlreadyActive *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ConnectionAlreadyActive>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ConnectionAlreadyActive::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ConnectionAlreadyActive,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ConnectionAlreadyActive *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::ConnectionAlreadyActive *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ConnectionAlreadyActive *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ConnectionAlreadyActive>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ConnectionAlreadyActive::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyActive,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ConnectionAlreadyInactive>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ConnectionAlreadyInactive &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ConnectionAlreadyInactive>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::ConnectionAlreadyInactive::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ConnectionAlreadyInactive,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ConnectionAlreadyInactive *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ConnectionAlreadyInactive>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ConnectionAlreadyInactive::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ConnectionAlreadyInactive,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ConnectionAlreadyInactive *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::ConnectionAlreadyInactive *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ConnectionAlreadyInactive *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ConnectionAlreadyInactive>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ConnectionAlreadyInactive::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ConnectionAlreadyInactive,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::NotConnected>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::NotConnected &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::NotConnected>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::NotConnected::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_NotConnected,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::NotConnected *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::NotConnected>::insert (
      _tao_any,
      CosNotifyChannelAdmin::NotConnected::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_NotConnected,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::NotConnected *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::NotConnected *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::NotConnected *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::NotConnected>::extract (
        _tao_any,
        CosNotifyChannelAdmin::NotConnected::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_NotConnected,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_enum/any_op_cs.cpp:52

void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyType _tao_elem
  )
{
  TAO::Any_Basic_Impl_T<CosNotifyChannelAdmin::ProxyType>::insert (
      _tao_any,
      CosNotifyChannelAdmin::_tc_ProxyType,
      _tao_elem
    );
}

CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyType &_tao_elem
  )
{
  return
    TAO::Any_Basic_Impl_T<CosNotifyChannelAdmin::ProxyType>::extract (
        _tao_any,
        CosNotifyChannelAdmin::_tc_ProxyType,
        _tao_elem 
      );
}

// TAO_IDL - Generated from
// be/be_visitor_enum/any_op_cs.cpp:52

void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ObtainInfoMode _tao_elem
  )
{
  TAO::Any_Basic_Impl_T<CosNotifyChannelAdmin::ObtainInfoMode>::insert (
      _tao_any,
      CosNotifyChannelAdmin::_tc_ObtainInfoMode,
      _tao_elem
    );
}

CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ObtainInfoMode &_tao_elem
  )
{
  return
    TAO::Any_Basic_Impl_T<CosNotifyChannelAdmin::ObtainInfoMode>::extract (
        _tao_any,
        CosNotifyChannelAdmin::_tc_ObtainInfoMode,
        _tao_elem 
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyConsumer>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyConsumer_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::ProxyConsumer_ptr _tao_objptr =
    CosNotifyChannelAdmin::ProxyConsumer::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyConsumer_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyConsumer>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ProxyConsumer::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ProxyConsumer,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyConsumer_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyConsumer>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ProxyConsumer::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ProxyConsumer,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxySupplier>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxySupplier_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::ProxySupplier_ptr _tao_objptr =
    CosNotifyChannelAdmin::ProxySupplier::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxySupplier_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxySupplier>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ProxySupplier::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ProxySupplier,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxySupplier_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxySupplier>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ProxySupplier::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ProxySupplier,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPushConsumer>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPushConsumer_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::ProxyPushConsumer_ptr _tao_objptr =
    CosNotifyChannelAdmin::ProxyPushConsumer::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPushConsumer_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPushConsumer>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ProxyPushConsumer::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ProxyPushConsumer,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPushConsumer_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPushConsumer>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ProxyPushConsumer::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ProxyPushConsumer,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPushConsumer>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr _tao_objptr =
    CosNotifyChannelAdmin::StructuredProxyPushConsumer::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPushConsumer>::insert (
      _tao_any,
      CosNotifyChannelAdmin::StructuredProxyPushConsumer::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_StructuredProxyPushConsumer,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPushConsumer>::extract (
        _tao_any,
        CosNotifyChannelAdmin::StructuredProxyPushConsumer::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_StructuredProxyPushConsumer,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPushConsumer>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr _tao_objptr =
    CosNotifyChannelAdmin::SequenceProxyPushConsumer::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPushConsumer>::insert (
      _tao_any,
      CosNotifyChannelAdmin::SequenceProxyPushConsumer::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_SequenceProxyPushConsumer,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPushConsumer>::extract (
        _tao_any,
        CosNotifyChannelAdmin::SequenceProxyPushConsumer::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_SequenceProxyPushConsumer,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPullSupplier>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPullSupplier_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::ProxyPullSupplier_ptr _tao_objptr =
    CosNotifyChannelAdmin::ProxyPullSupplier::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPullSupplier_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPullSupplier>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ProxyPullSupplier::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ProxyPullSupplier,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPullSupplier_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPullSupplier>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ProxyPullSupplier::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ProxyPullSupplier,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPullSupplier>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr _tao_objptr =
    CosNotifyChannelAdmin::StructuredProxyPullSupplier::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPullSupplier>::insert (
      _tao_any,
      CosNotifyChannelAdmin::StructuredProxyPullSupplier::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_StructuredProxyPullSupplier,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPullSupplier>::extract (
        _tao_any,
        CosNotifyChannelAdmin::StructuredProxyPullSupplier::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_StructuredProxyPullSupplier,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPullSupplier>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr _tao_objptr =
    CosNotifyChannelAdmin::SequenceProxyPullSupplier::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPullSupplier>::insert (
      _tao_any,
      CosNotifyChannelAdmin::SequenceProxyPullSupplier::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_SequenceProxyPullSupplier,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPullSupplier>::extract (
        _tao_any,
        CosNotifyChannelAdmin::SequenceProxyPullSupplier::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_SequenceProxyPullSupplier,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPullConsumer>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPullConsumer_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::ProxyPullConsumer_ptr _tao_objptr =
    CosNotifyChannelAdmin::ProxyPullConsumer::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPullConsumer_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPullConsumer>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ProxyPullConsumer::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ProxyPullConsumer,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPullConsumer_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPullConsumer>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ProxyPullConsumer::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ProxyPullConsumer,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPullConsumer>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr _tao_objptr =
    CosNotifyChannelAdmin::StructuredProxyPullConsumer::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPullConsumer>::insert (
      _tao_any,
      CosNotifyChannelAdmin::StructuredProxyPullConsumer::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_StructuredProxyPullConsumer,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPullConsumer>::extract (
        _tao_any,
        CosNotifyChannelAdmin::StructuredProxyPullConsumer::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_StructuredProxyPullConsumer,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPullConsumer>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr _tao_objptr =
    CosNotifyChannelAdmin::SequenceProxyPullConsumer::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPullConsumer>::insert (
      _tao_any,
      CosNotifyChannelAdmin::SequenceProxyPullConsumer::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_SequenceProxyPullConsumer,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPullConsumer>::extract (
        _tao_any,
        CosNotifyChannelAdmin::SequenceProxyPullConsumer::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_SequenceProxyPullConsumer,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPushSupplier>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPushSupplier_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::ProxyPushSupplier_ptr _tao_objptr =
    CosNotifyChannelAdmin::ProxyPushSupplier::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPushSupplier_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPushSupplier>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ProxyPushSupplier::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ProxyPushSupplier,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyPushSupplier_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::ProxyPushSupplier>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ProxyPushSupplier::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ProxyPushSupplier,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPushSupplier>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr _tao_objptr =
    CosNotifyChannelAdmin::StructuredProxyPushSupplier::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPushSupplier>::insert (
      _tao_any,
      CosNotifyChannelAdmin::StructuredProxyPushSupplier::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_StructuredProxyPushSupplier,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::StructuredProxyPushSupplier>::extract (
        _tao_any,
        CosNotifyChannelAdmin::StructuredProxyPushSupplier::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_StructuredProxyPushSupplier,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPushSupplier>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr _tao_objptr =
    CosNotifyChannelAdmin::SequenceProxyPushSupplier::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPushSupplier>::insert (
      _tao_any,
      CosNotifyChannelAdmin::SequenceProxyPushSupplier::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_SequenceProxyPushSupplier,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::SequenceProxyPushSupplier>::extract (
        _tao_any,
        CosNotifyChannelAdmin::SequenceProxyPushSupplier::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_SequenceProxyPushSupplier,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ProxyIDSeq &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ProxyIDSeq>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::ProxyIDSeq::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ProxyIDSeq,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyIDSeq *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ProxyIDSeq>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ProxyIDSeq::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ProxyIDSeq,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyIDSeq *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::ProxyIDSeq *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ProxyIDSeq *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ProxyIDSeq>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ProxyIDSeq::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ProxyIDSeq,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_enum/any_op_cs.cpp:52

void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ClientType _tao_elem
  )
{
  TAO::Any_Basic_Impl_T<CosNotifyChannelAdmin::ClientType>::insert (
      _tao_any,
      CosNotifyChannelAdmin::_tc_ClientType,
      _tao_elem
    );
}

CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ClientType &_tao_elem
  )
{
  return
    TAO::Any_Basic_Impl_T<CosNotifyChannelAdmin::ClientType>::extract (
        _tao_any,
        CosNotifyChannelAdmin::_tc_ClientType,
        _tao_elem 
      );
}

// TAO_IDL - Generated from
// be/be_visitor_enum/any_op_cs.cpp:52

void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::InterFilterGroupOperator _tao_elem
  )
{
  TAO::Any_Basic_Impl_T<CosNotifyChannelAdmin::InterFilterGroupOperator>::insert (
      _tao_any,
      CosNotifyChannelAdmin::_tc_InterFilterGroupOperator,
      _tao_elem
    );
}

CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::InterFilterGroupOperator &_tao_elem
  )
{
  return
    TAO::Any_Basic_Impl_T<CosNotifyChannelAdmin::InterFilterGroupOperator>::extract (
        _tao_any,
        CosNotifyChannelAdmin::_tc_InterFilterGroupOperator,
        _tao_elem 
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::AdminIDSeq &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminIDSeq>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::AdminIDSeq::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_AdminIDSeq,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::AdminIDSeq *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminIDSeq>::insert (
      _tao_any,
      CosNotifyChannelAdmin::AdminIDSeq::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_AdminIDSeq,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::AdminIDSeq *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::AdminIDSeq *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::AdminIDSeq *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminIDSeq>::extract (
        _tao_any,
        CosNotifyChannelAdmin::AdminIDSeq::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_AdminIDSeq,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminNotFound>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::AdminNotFound &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminNotFound>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::AdminNotFound::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_AdminNotFound,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::AdminNotFound *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminNotFound>::insert (
      _tao_any,
      CosNotifyChannelAdmin::AdminNotFound::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_AdminNotFound,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::AdminNotFound *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::AdminNotFound *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::AdminNotFound *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminNotFound>::extract (
        _tao_any,
        CosNotifyChannelAdmin::AdminNotFound::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_AdminNotFound,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ProxyNotFound>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ProxyNotFound &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ProxyNotFound>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::ProxyNotFound::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ProxyNotFound,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyNotFound *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ProxyNotFound>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ProxyNotFound::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ProxyNotFound,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ProxyNotFound *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::ProxyNotFound *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ProxyNotFound *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ProxyNotFound>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ProxyNotFound::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ProxyNotFound,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::AdminLimit &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminLimit>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::AdminLimit::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_AdminLimit,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::AdminLimit *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminLimit>::insert (
      _tao_any,
      CosNotifyChannelAdmin::AdminLimit::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_AdminLimit,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::AdminLimit *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::AdminLimit *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::AdminLimit *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminLimit>::extract (
        _tao_any,
        CosNotifyChannelAdmin::AdminLimit::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_AdminLimit,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminLimitExceeded>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::AdminLimitExceeded &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminLimitExceeded>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::AdminLimitExceeded::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_AdminLimitExceeded,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::AdminLimitExceeded *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminLimitExceeded>::insert (
      _tao_any,
      CosNotifyChannelAdmin::AdminLimitExceeded::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_AdminLimitExceeded,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::AdminLimitExceeded *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::AdminLimitExceeded *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::AdminLimitExceeded *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::AdminLimitExceeded>::extract (
        _tao_any,
        CosNotifyChannelAdmin::AdminLimitExceeded::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_AdminLimitExceeded,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::ConsumerAdmin>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ConsumerAdmin_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::ConsumerAdmin_ptr _tao_objptr =
    CosNotifyChannelAdmin::ConsumerAdmin::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ConsumerAdmin_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::ConsumerAdmin>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ConsumerAdmin::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ConsumerAdmin,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ConsumerAdmin_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::ConsumerAdmin>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ConsumerAdmin::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ConsumerAdmin,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::SupplierAdmin>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SupplierAdmin_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::SupplierAdmin_ptr _tao_objptr =
    CosNotifyChannelAdmin::SupplierAdmin::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SupplierAdmin_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::SupplierAdmin>::insert (
      _tao_any,
      CosNotifyChannelAdmin::SupplierAdmin::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_SupplierAdmin,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::SupplierAdmin_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::SupplierAdmin>::extract (
        _tao_any,
        CosNotifyChannelAdmin::SupplierAdmin::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_SupplierAdmin,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::EventChannel>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::EventChannel_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::EventChannel_ptr _tao_objptr =
    CosNotifyChannelAdmin::EventChannel::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::EventChannel_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::EventChannel>::insert (
      _tao_any,
      CosNotifyChannelAdmin::EventChannel::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_EventChannel,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::EventChannel_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::EventChannel>::extract (
        _tao_any,
        CosNotifyChannelAdmin::EventChannel::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_EventChannel,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ChannelIDSeq &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ChannelIDSeq>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::ChannelIDSeq::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ChannelIDSeq,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ChannelIDSeq *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ChannelIDSeq>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ChannelIDSeq::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ChannelIDSeq,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ChannelIDSeq *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::ChannelIDSeq *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ChannelIDSeq *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ChannelIDSeq>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ChannelIDSeq::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ChannelIDSeq,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ChannelNotFound>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ChannelNotFound &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ChannelNotFound>::insert_copy (
      _tao_any,
      CosNotifyChannelAdmin::ChannelNotFound::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ChannelNotFound,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ChannelNotFound *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ChannelNotFound>::insert (
      _tao_any,
      CosNotifyChannelAdmin::ChannelNotFound::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_ChannelNotFound,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::ChannelNotFound *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const CosNotifyChannelAdmin::ChannelNotFound *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const CosNotifyChannelAdmin::ChannelNotFound *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<CosNotifyChannelAdmin::ChannelNotFound>::extract (
        _tao_any,
        CosNotifyChannelAdmin::ChannelNotFound::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_ChannelNotFound,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<CosNotifyChannelAdmin::EventChannelFactory>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::EventChannelFactory_ptr _tao_elem
  )
{
  CosNotifyChannelAdmin::EventChannelFactory_ptr _tao_objptr =
    CosNotifyChannelAdmin::EventChannelFactory::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::EventChannelFactory_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<CosNotifyChannelAdmin::EventChannelFactory>::insert (
      _tao_any,
      CosNotifyChannelAdmin::EventChannelFactory::_tao_any_destructor,
      CosNotifyChannelAdmin::_tc_EventChannelFactory,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    CosNotifyChannelAdmin::EventChannelFactory_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<CosNotifyChannelAdmin::EventChannelFactory>::extract (
        _tao_any,
        CosNotifyChannelAdmin::EventChannelFactory::_tao_any_destructor,
        CosNotifyChannelAdmin::_tc_EventChannelFactory,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ConnectionAlreadyActive &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosNotifyChannelAdmin::ConnectionAlreadyActive&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ConnectionAlreadyInactive &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosNotifyChannelAdmin::ConnectionAlreadyInactive&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::NotConnected &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosNotifyChannelAdmin::NotConnected&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_enum/cdr_op_cs.cpp:51

CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CosNotifyChannelAdmin::ProxyType &_tao_enumval)
{
  CORBA::ULong _tao_temp = _tao_enumval;
  return strm << _tao_temp;
}

CORBA::Boolean operator>> (TAO_InputCDR &strm, CosNotifyChannelAdmin::ProxyType &_tao_enumval)
{
  CORBA::ULong _tao_temp = 0;
  CORBA::Boolean _tao_result = strm >> _tao_temp;
  
  if (_tao_result == 1)
    {
      _tao_enumval = static_cast<CosNotifyChannelAdmin::ProxyType> (_tao_temp);
    }
  
  return _tao_result;
}

// TAO_IDL - Generated from
// be/be_visitor_enum/cdr_op_cs.cpp:51

CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CosNotifyChannelAdmin::ObtainInfoMode &_tao_enumval)
{
  CORBA::ULong _tao_temp = _tao_enumval;
  return strm << _tao_temp;
}

CORBA::Boolean operator>> (TAO_InputCDR &strm, CosNotifyChannelAdmin::ObtainInfoMode &_tao_enumval)
{
  CORBA::ULong _tao_temp = 0;
  CORBA::Boolean _tao_result = strm >> _tao_temp;
  
  if (_tao_result == 1)
    {
      _tao_enumval = static_cast<CosNotifyChannelAdmin::ObtainInfoMode> (_tao_temp);
    }
  
  return _tao_result;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ProxyConsumer_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::ProxyConsumer_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::ProxyConsumer RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_ProxyConsumer_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ProxySupplier_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::ProxySupplier_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::ProxySupplier RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_ProxySupplier_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ProxyPushConsumer_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::ProxyPushConsumer_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::ProxyPushConsumer RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::StructuredProxyPushConsumer_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::StructuredProxyPushConsumer RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_StructuredProxyPushConsumer_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::SequenceProxyPushConsumer_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::SequenceProxyPushConsumer RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_SequenceProxyPushConsumer_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ProxyPullSupplier_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::ProxyPullSupplier_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::ProxyPullSupplier RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_ProxyPullSupplier_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::StructuredProxyPullSupplier_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::StructuredProxyPullSupplier RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_StructuredProxyPullSupplier_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::SequenceProxyPullSupplier_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::SequenceProxyPullSupplier RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_SequenceProxyPullSupplier_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ProxyPullConsumer_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::ProxyPullConsumer_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::ProxyPullConsumer RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_ProxyPullConsumer_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::StructuredProxyPullConsumer_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::StructuredProxyPullConsumer RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_StructuredProxyPullConsumer_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::SequenceProxyPullConsumer_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::SequenceProxyPullConsumer RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_SequenceProxyPullConsumer_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ProxyPushSupplier_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::ProxyPushSupplier_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::ProxyPushSupplier RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::StructuredProxyPushSupplier_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::StructuredProxyPushSupplier RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_StructuredProxyPushSupplier_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::SequenceProxyPushSupplier_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::SequenceProxyPushSupplier RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_SequenceProxyPushSupplier_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_CosNotifyChannelAdmin_ProxyIDSeq_CPP_
#define _TAO_CDR_OP_CosNotifyChannelAdmin_ProxyIDSeq_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ProxyIDSeq &_tao_sequence
  )
{
  const CORBA::ULong _tao_seq_len = _tao_sequence.length ();
  
  if (strm << _tao_seq_len)
    {
      // Encode all elements.
      return strm.write_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    }
  
  return 0;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::ProxyIDSeq &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          return 0;
        }
      
      // Set the length of the sequence.
      _tao_sequence.length (_tao_seq_len);
      
      // If length is 0 we return true.
      if (0 >= _tao_seq_len) 
        {
          return 1;
        }
      
      // Retrieve all the elements.
      return strm.read_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    
    }
  
  return 0;
}

#endif /* _TAO_CDR_OP_CosNotifyChannelAdmin_ProxyIDSeq_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_enum/cdr_op_cs.cpp:51

CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CosNotifyChannelAdmin::ClientType &_tao_enumval)
{
  CORBA::ULong _tao_temp = _tao_enumval;
  return strm << _tao_temp;
}

CORBA::Boolean operator>> (TAO_InputCDR &strm, CosNotifyChannelAdmin::ClientType &_tao_enumval)
{
  CORBA::ULong _tao_temp = 0;
  CORBA::Boolean _tao_result = strm >> _tao_temp;
  
  if (_tao_result == 1)
    {
      _tao_enumval = static_cast<CosNotifyChannelAdmin::ClientType> (_tao_temp);
    }
  
  return _tao_result;
}

// TAO_IDL - Generated from
// be/be_visitor_enum/cdr_op_cs.cpp:51

CORBA::Boolean operator<< (TAO_OutputCDR &strm, const CosNotifyChannelAdmin::InterFilterGroupOperator &_tao_enumval)
{
  CORBA::ULong _tao_temp = _tao_enumval;
  return strm << _tao_temp;
}

CORBA::Boolean operator>> (TAO_InputCDR &strm, CosNotifyChannelAdmin::InterFilterGroupOperator &_tao_enumval)
{
  CORBA::ULong _tao_temp = 0;
  CORBA::Boolean _tao_result = strm >> _tao_temp;
  
  if (_tao_result == 1)
    {
      _tao_enumval = static_cast<CosNotifyChannelAdmin::InterFilterGroupOperator> (_tao_temp);
    }
  
  return _tao_result;
}

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_CosNotifyChannelAdmin_AdminIDSeq_CPP_
#define _TAO_CDR_OP_CosNotifyChannelAdmin_AdminIDSeq_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::AdminIDSeq &_tao_sequence
  )
{
  const CORBA::ULong _tao_seq_len = _tao_sequence.length ();
  
  if (strm << _tao_seq_len)
    {
      // Encode all elements.
      return strm.write_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    }
  
  return 0;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::AdminIDSeq &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          return 0;
        }
      
      // Set the length of the sequence.
      _tao_sequence.length (_tao_seq_len);
      
      // If length is 0 we return true.
      if (0 >= _tao_seq_len) 
        {
          return 1;
        }
      
      // Retrieve all the elements.
      return strm.read_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    
    }
  
  return 0;
}

#endif /* _TAO_CDR_OP_CosNotifyChannelAdmin_AdminIDSeq_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::AdminNotFound &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosNotifyChannelAdmin::AdminNotFound&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ProxyNotFound &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosNotifyChannelAdmin::ProxyNotFound&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_structure/cdr_op_cs.cpp:61

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::AdminLimit &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.name.in ()) &&
    (strm << _tao_aggregate.value);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::AdminLimit &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.name.out ()) &&
    (strm >> _tao_aggregate.value);
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::AdminLimitExceeded &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      // Now marshal the members (if any).
      if (
        (strm << _tao_aggregate.admin_property_err)
       )
        {
          return 1;
        }
      else
        {
          return 0;
        }
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::AdminLimitExceeded &_tao_aggregate
  )
{
  // Demarshal the members.
  if (
    (strm >> _tao_aggregate.admin_property_err)
  )
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ConsumerAdmin_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::ConsumerAdmin_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::ConsumerAdmin RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::SupplierAdmin_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::SupplierAdmin_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::SupplierAdmin RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::EventChannel_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::EventChannel_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::EventChannel RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_CosNotifyChannelAdmin_ChannelIDSeq_CPP_
#define _TAO_CDR_OP_CosNotifyChannelAdmin_ChannelIDSeq_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ChannelIDSeq &_tao_sequence
  )
{
  const CORBA::ULong _tao_seq_len = _tao_sequence.length ();
  
  if (strm << _tao_seq_len)
    {
      // Encode all elements.
      return strm.write_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    }
  
  return 0;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::ChannelIDSeq &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          return 0;
        }
      
      // Set the length of the sequence.
      _tao_sequence.length (_tao_seq_len);
      
      // If length is 0 we return true.
      if (0 >= _tao_seq_len) 
        {
          return 1;
        }
      
      // Retrieve all the elements.
      return strm.read_long_array (_tao_sequence.get_buffer (), _tao_sequence.length ());
    
    }
  
  return 0;
}

#endif /* _TAO_CDR_OP_CosNotifyChannelAdmin_ChannelIDSeq_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::ChannelNotFound &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    CosNotifyChannelAdmin::ChannelNotFound&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const CosNotifyChannelAdmin::EventChannelFactory_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    CosNotifyChannelAdmin::EventChannelFactory_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::CosNotifyChannelAdmin::EventChannelFactory RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        CosNotifyChannelAdmin__TAO_EventChannelFactory_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

