// -*- C++ -*-
/**
 * Code generated by the The ACE ORB (TAO) IDL Compiler v2.4.0
 * 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
 * and
 *       Institute for Software Integrated Systems
 *       Vanderbilt University
 *       Nashville, TN
 *       USA
 *       http://www.isis.vanderbilt.edu/
 *
 * Information about TAO is available at:
 *     http://www.dre.vanderbilt.edu/~schmidt/TAO.html
 **/

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

#ifndef _TAO_IDL_FT_NAMINGMANAGERS_T98BXV_H_
#define _TAO_IDL_FT_NAMINGMANAGERS_T98BXV_H_

#include /**/ "ace/pre.h"

#include "FT_NamingManagerC.h"
#include "orbsvcs/PortableGroupS.h"
#include "tao/PortableServer/Basic_SArguments.h"
#include "tao/PortableServer/Special_Basic_SArguments.h"
#include "tao/PortableServer/Fixed_Size_SArgument_T.h"
#include "tao/PortableServer/Var_Size_SArgument_T.h"
#include "tao/PortableServer/Object_SArg_Traits.h"
#include "tao/PortableServer/Special_Basic_SArguments.h"
#include "tao/PortableServer/UB_String_SArguments.h"
#include "tao/PortableServer/Any_SArg_Traits.h"
#include "tao/PortableServer/Object_SArg_Traits.h"
#include "tao/PortableServer/get_arg.h"
#include "tao/Special_Basic_Arguments.h"
#include "tao/UB_String_Arguments.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "tao/Messaging/MessagingS.h"
#include "tao/PortableServer/PortableServer.h"
#include "tao/PortableServer/Servant_Base.h"

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

TAO_BEGIN_VERSIONED_NAMESPACE_DECL


// Arg traits specializations.
namespace TAO
{

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

#if !defined (_MESSAGING_EXCEPTIONHOLDER__SARG_TRAITS_)
#define _MESSAGING_EXCEPTIONHOLDER__SARG_TRAITS_

  template<>
  class SArg_Traits< ::Messaging::ExceptionHolder>
    : public
        Object_SArg_Traits_T<
            ::Messaging::ExceptionHolder *,
            ::Messaging::ExceptionHolder_var,
            ::Messaging::ExceptionHolder_out,
            TAO::Any_Insert_Policy_Stream
          >
  {
  };

#endif /* end #if !defined */

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

  template<>
  class SArg_Traits< ::FT_Naming::GroupNames>
    : public
        Var_Size_SArg_Traits_T<
            ::FT_Naming::GroupNames,
            TAO::Any_Insert_Policy_Stream
          >
  {
  };

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

#if !defined (_FT_NAMING_NAMINGMANAGER__SARG_TRAITS_)
#define _FT_NAMING_NAMINGMANAGER__SARG_TRAITS_

  template<>
  class  SArg_Traits< ::FT_Naming::NamingManager>
    : public
        Object_SArg_Traits_T<
            ::FT_Naming::NamingManager_ptr,
            ::FT_Naming::NamingManager_var,
            ::FT_Naming::NamingManager_out,
            TAO::Any_Insert_Policy_Stream
          >
  {
  };

#endif /* end #if !defined */

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

#if !defined (_FT_NAMING_AMI_NAMINGMANAGERHANDLER__SARG_TRAITS_)
#define _FT_NAMING_AMI_NAMINGMANAGERHANDLER__SARG_TRAITS_

  template<>
  class  SArg_Traits< ::FT_Naming::AMI_NamingManagerHandler>
    : public
        Object_SArg_Traits_T<
            ::FT_Naming::AMI_NamingManagerHandler_ptr,
            ::FT_Naming::AMI_NamingManagerHandler_var,
            ::FT_Naming::AMI_NamingManagerHandler_out,
            TAO::Any_Insert_Policy_Stream
          >
  {
  };

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

TAO_END_VERSIONED_NAMESPACE_DECL



// TAO_IDL - Generated from
// be/be_visitor_module/module_sh.cpp:35

namespace POA_FT_Naming
{
  

  // TAO_IDL - Generated from
  // be/be_visitor_interface/interface_sh.cpp:73

  class NamingManager;
  typedef NamingManager *NamingManager_ptr;

  class TAO_FtNaming_Intf_Export NamingManager
    : public virtual POA_PortableGroup::PropertyManager,
      public virtual POA_PortableGroup::ObjectGroupManager
  {
  protected:
    NamingManager (void);
  
  public:
    /// Useful for template programming.
    typedef ::FT_Naming::NamingManager _stub_type;
    typedef ::FT_Naming::NamingManager_ptr _stub_ptr_type;
    typedef ::FT_Naming::NamingManager_var _stub_var_type;

    NamingManager (const NamingManager& rhs);
    virtual ~NamingManager (void);

    virtual ::CORBA::Boolean _is_a (const char* logical_type_id);

    virtual void _dispatch (
        TAO_ServerRequest & req,
        TAO::Portable_Server::Servant_Upcall *servant_upcall);
    
    ::FT_Naming::NamingManager *_this (void);
    
    virtual const char* _interface_repository_id (void) const;

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual ::FT_Naming::ObjectGroup_ptr create_object_group (
      const char * group_name,
      ::FT_Naming::LoadBalancingStrategyValue lb_strategy,
      const ::PortableGroup::Criteria & the_criteria) = 0;

    static void create_object_group_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void delete_object_group (
      const char * group_name) = 0;

    static void delete_object_group_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual ::FT_Naming::ObjectGroup_ptr get_object_group_ref_from_name (
      const char * group_name) = 0;

    static void get_object_group_ref_from_name_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void set_load_balancing_strategy (
      const char * group_name,
      ::FT_Naming::LoadBalancingStrategyValue lb_strategy) = 0;

    static void set_load_balancing_strategy_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual ::FT_Naming::GroupNames * groups (
      ::FT_Naming::LoadBalancingStrategyValue target_stategy) = 0;

    static void groups_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);
  };

  // TAO_IDL - Generated from
  // be/be_visitor_interface/interface_sh.cpp:73

  class AMI_NamingManagerHandler;
  typedef AMI_NamingManagerHandler *AMI_NamingManagerHandler_ptr;

  class TAO_FtNaming_Intf_Export AMI_NamingManagerHandler
    : public virtual POA_PortableGroup::AMI_PropertyManagerHandler,
      public virtual POA_PortableGroup::AMI_ObjectGroupManagerHandler
  {
  protected:
    AMI_NamingManagerHandler (void);
  
  public:
    /// Useful for template programming.
    typedef ::FT_Naming::AMI_NamingManagerHandler _stub_type;
    typedef ::FT_Naming::AMI_NamingManagerHandler_ptr _stub_ptr_type;
    typedef ::FT_Naming::AMI_NamingManagerHandler_var _stub_var_type;

    AMI_NamingManagerHandler (const AMI_NamingManagerHandler& rhs);
    virtual ~AMI_NamingManagerHandler (void);

    virtual ::CORBA::Boolean _is_a (const char* logical_type_id);

    virtual void _dispatch (
        TAO_ServerRequest & req,
        TAO::Portable_Server::Servant_Upcall *servant_upcall);
    
    ::FT_Naming::AMI_NamingManagerHandler *_this (void);
    
    virtual const char* _interface_repository_id (void) const;

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void create_object_group (
      ::FT_Naming::ObjectGroup_ptr ami_return_val) = 0;

    static void create_object_group_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void create_object_group_excep (
      ::Messaging::ExceptionHolder * excep_holder) = 0;

    static void create_object_group_excep_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void delete_object_group (
      void) = 0;

    static void delete_object_group_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void delete_object_group_excep (
      ::Messaging::ExceptionHolder * excep_holder) = 0;

    static void delete_object_group_excep_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void get_object_group_ref_from_name (
      ::FT_Naming::ObjectGroup_ptr ami_return_val) = 0;

    static void get_object_group_ref_from_name_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void get_object_group_ref_from_name_excep (
      ::Messaging::ExceptionHolder * excep_holder) = 0;

    static void get_object_group_ref_from_name_excep_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void set_load_balancing_strategy (
      void) = 0;

    static void set_load_balancing_strategy_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void set_load_balancing_strategy_excep (
      ::Messaging::ExceptionHolder * excep_holder) = 0;

    static void set_load_balancing_strategy_excep_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void groups (
      const ::FT_Naming::GroupNames & ami_return_val) = 0;

    static void groups_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);

    // TAO_IDL - Generated from
    // be/be_visitor_operation/operation_sh.cpp:36

    virtual void groups_excep (
      ::Messaging::ExceptionHolder * excep_holder) = 0;

    static void groups_excep_skel (
        TAO_ServerRequest &server_request,
        TAO::Portable_Server::Servant_Upcall *servant_upcall,
        TAO_ServantBase *servant);
  };

// TAO_IDL - Generated from
// be/be_visitor_module/module_sh.cpp:66

} // module FT_Naming

#include /**/ "ace/post.h"

#endif /* ifndef */

