portableserverc.h
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C头文件 代码 · 共 2,367 行 · 第 1/5 页
H
2,367 行
typedef
TAO_Objref_Var_T<
ServantRetentionPolicy
>
ServantRetentionPolicy_var;
typedef
TAO_Objref_Out_T<
ServantRetentionPolicy
>
ServantRetentionPolicy_out;
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:53
#if !defined (_PORTABLESERVER_SERVANTRETENTIONPOLICY_CH_)
#define _PORTABLESERVER_SERVANTRETENTIONPOLICY_CH_
class TAO_PortableServer_Export ServantRetentionPolicy
: public virtual CORBA::Policy
{
public:
typedef ServantRetentionPolicy_ptr _ptr_type;
typedef ServantRetentionPolicy_var _var_type;
// The static operations.
static ServantRetentionPolicy_ptr _duplicate (ServantRetentionPolicy_ptr obj);
static ServantRetentionPolicy_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
static ServantRetentionPolicy_ptr _nil (void)
{
return (ServantRetentionPolicy_ptr)0;
}
static void _tao_any_destructor (void *);
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual ::PortableServer::ServantRetentionPolicyValue value (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:185
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
protected:
ServantRetentionPolicy (void);
virtual ~ServantRetentionPolicy (void);
private:
ServantRetentionPolicy (const ServantRetentionPolicy &);
void operator= (const ServantRetentionPolicy &);
};
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_ServantRetentionPolicy;
#endif /* TAO_HAS_MINIMUM_POA == 0 */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_enum/enum_ch.cpp:57
enum RequestProcessingPolicyValue
{
USE_ACTIVE_OBJECT_MAP_ONLY,
USE_DEFAULT_SERVANT,
USE_SERVANT_MANAGER
};
#if (TAO_HAS_MINIMUM_POA == 0)
typedef RequestProcessingPolicyValue &RequestProcessingPolicyValue_out;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_RequestProcessingPolicyValue;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:601
#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY__VAR_OUT_CH_)
#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY__VAR_OUT_CH_
class RequestProcessingPolicy;
typedef RequestProcessingPolicy *RequestProcessingPolicy_ptr;
typedef
TAO_Objref_Var_T<
RequestProcessingPolicy
>
RequestProcessingPolicy_var;
typedef
TAO_Objref_Out_T<
RequestProcessingPolicy
>
RequestProcessingPolicy_out;
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:53
#if !defined (_PORTABLESERVER_REQUESTPROCESSINGPOLICY_CH_)
#define _PORTABLESERVER_REQUESTPROCESSINGPOLICY_CH_
class TAO_PortableServer_Export RequestProcessingPolicy
: public virtual CORBA::Policy
{
public:
typedef RequestProcessingPolicy_ptr _ptr_type;
typedef RequestProcessingPolicy_var _var_type;
// The static operations.
static RequestProcessingPolicy_ptr _duplicate (RequestProcessingPolicy_ptr obj);
static RequestProcessingPolicy_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
static RequestProcessingPolicy_ptr _nil (void)
{
return (RequestProcessingPolicy_ptr)0;
}
static void _tao_any_destructor (void *);
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual ::PortableServer::RequestProcessingPolicyValue value (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:185
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
protected:
RequestProcessingPolicy (void);
virtual ~RequestProcessingPolicy (void);
private:
RequestProcessingPolicy (const RequestProcessingPolicy &);
void operator= (const RequestProcessingPolicy &);
};
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_RequestProcessingPolicy;
#endif /* TAO_HAS_MINIMUM_POA == 0 */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:601
#if !defined (_PORTABLESERVER_POAMANAGER__VAR_OUT_CH_)
#define _PORTABLESERVER_POAMANAGER__VAR_OUT_CH_
class POAManager;
typedef POAManager *POAManager_ptr;
typedef
TAO_Objref_Var_T<
POAManager
>
POAManager_var;
typedef
TAO_Objref_Out_T<
POAManager
>
POAManager_out;
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:53
#if !defined (_PORTABLESERVER_POAMANAGER_CH_)
#define _PORTABLESERVER_POAMANAGER_CH_
class TAO_PortableServer_Export POAManager
: public virtual CORBA::Object
{
public:
typedef POAManager_ptr _ptr_type;
typedef POAManager_var _var_type;
// The static operations.
static POAManager_ptr _duplicate (POAManager_ptr obj);
static POAManager_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
static POAManager_ptr _nil (void)
{
return (POAManager_ptr)0;
}
static void _tao_any_destructor (void *);
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:51
#if !defined (_PORTABLESERVER_POAMANAGER_ADAPTERINACTIVE_CH_)
#define _PORTABLESERVER_POAMANAGER_ADAPTERINACTIVE_CH_
class TAO_PortableServer_Export AdapterInactive : public CORBA::UserException
{
public:
AdapterInactive (void);
AdapterInactive (const AdapterInactive &);
~AdapterInactive (void);
AdapterInactive &operator= (const AdapterInactive &);
static void _tao_any_destructor (void *);
static AdapterInactive *_downcast (CORBA::Exception *);
static CORBA::Exception *_alloc (void);
virtual CORBA::Exception *_tao_duplicate (void) const;
virtual void _raise (void) const;
virtual void _tao_encode (
TAO_OutputCDR &
ACE_ENV_ARG_DECL
) const;
virtual void _tao_decode (
TAO_InputCDR &
ACE_ENV_ARG_DECL
);
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_exception/exception_ch.cpp:125
virtual CORBA::TypeCode_ptr _type (void) const;
};
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
static ::CORBA::TypeCode_ptr _tc_AdapterInactive;
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_enum/enum_ch.cpp:57
enum State
{
HOLDING,
ACTIVE,
DISCARDING,
INACTIVE
};
typedef State &State_out;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
static ::CORBA::TypeCode_ptr _tc_State;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void activate (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
, PortableServer::POAManager::AdapterInactive
)) = 0;
#if (TAO_HAS_MINIMUM_POA == 0)
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void hold_requests (
CORBA::Boolean wait_for_completion
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
, PortableServer::POAManager::AdapterInactive
)) = 0;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void discard_requests (
CORBA::Boolean wait_for_completion
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
, PortableServer::POAManager::AdapterInactive
)) = 0;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual void deactivate (
CORBA::Boolean etherealize_objects,
CORBA::Boolean wait_for_completion
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
, PortableServer::POAManager::AdapterInactive
)) = 0;
#endif /* TAO_HAS_MINIMUM_POA == 0 */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual ::PortableServer::POAManager::State get_state (
ACE_ENV_SINGLE_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:185
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
protected:
POAManager (void);
virtual ~POAManager (void);
private:
POAManager (const POAManager &);
void operator= (const POAManager &);
};
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_typecode/typecode_decl.cpp:44
TAO_NAMESPACE_STORAGE_CLASS ::CORBA::TypeCode_ptr _tc_POAManager;
#if (TAO_HAS_MINIMUM_POA == 0)
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_interface.cpp:601
#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR__VAR_OUT_CH_)
#define _PORTABLESERVER_ADAPTERACTIVATOR__VAR_OUT_CH_
class AdapterActivator;
typedef AdapterActivator *AdapterActivator_ptr;
typedef
TAO_Objref_Var_T<
AdapterActivator
>
AdapterActivator_var;
typedef
TAO_Objref_Out_T<
AdapterActivator
>
AdapterActivator_out;
#endif /* end #if !defined */
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:53
#if !defined (_PORTABLESERVER_ADAPTERACTIVATOR_CH_)
#define _PORTABLESERVER_ADAPTERACTIVATOR_CH_
class TAO_PortableServer_Export AdapterActivator
: public virtual CORBA::Object
{
public:
typedef AdapterActivator_ptr _ptr_type;
typedef AdapterActivator_var _var_type;
// The static operations.
static AdapterActivator_ptr _duplicate (AdapterActivator_ptr obj);
static AdapterActivator_ptr _narrow (
CORBA::Object_ptr obj
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
static AdapterActivator_ptr _nil (void)
{
return (AdapterActivator_ptr)0;
}
static void _tao_any_destructor (void *);
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_operation/operation_ch.cpp:46
virtual CORBA::Boolean unknown_adapter (
PortableServer::POA_ptr parent,
const char * name
ACE_ENV_ARG_DECL_WITH_DEFAULTS
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:185
virtual CORBA::Boolean _is_a (
const char *type_id
ACE_ENV_ARG_DECL_WITH_DEFAULTS
);
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);
protected:
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?