ORB_Constants.h File Reference

#include "tao/Basic_Types.h"

Include dependency graph for ORB_Constants.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  CORBA
namespace  TAO

TAO-Specific System Exception Minor Code Values

These system exception minor code values are specific to TAO.

const CORBA::ULong TAO_DEFAULT_MINOR_CODE = TAO::VMCID
 TAO VMCID assigned by the OMG.
const CORBA::ULong TAO_MAX_MINOR_CODE = TAO::MAX_MINOR_CODE
 Maximum allowed system exception minor code.

TAO-Specific Profile IDs

The TAO IOP::ProfileId range 0x54414f00 - 0x54414f0f has been reserved with the OMG.

Note:
It is *NOT* necessary to list your own protocols here.

The values below are subject to change at any point.



const CORBA::ULong TAO_TAG_UIOP_PROFILE = 0x54414f00U
 Local IPC (Unix Domain).
const CORBA::ULong TAO_TAG_SHMEM_PROFILE = 0x54414f02U
 Shared memory.
const CORBA::ULong TAO_TAG_DIOP_PROFILE = 0x54414f04U
 UDP.
const CORBA::ULong TAO_TAG_COIOP_PROFILE = 0x54414f05U
 COIOP.
const CORBA::ULong TAO_TAG_SCIOP_PROFILE = 0x54414f0EU
 SCIOP.
const CORBA::ULong TAO_TAG_NSKFS_PROFILE = 0x00003039U
 Tandem (HP) File System Protocol.
const CORBA::ULong TAO_TAG_NSKPW_PROFILE = 0x0000303AU
 Tandem (HP) Pathsend Protocol.
const int IPDSFIELD_DSCP_DEFAULT = 0x00
 Local IPC (Unix Domain).

Location Encoding

The location encoding is the 5 bits, after the @ errno encoding.

const CORBA::ULong TAO_INVOCATION_LOCATION_FORWARD_MINOR_CODE = (0x01U << 7)
const CORBA::ULong TAO_INVOCATION_SEND_REQUEST_MINOR_CODE = (0x02U << 7)
const CORBA::ULong TAO_POA_DISCARDING = (0x03U << 7)
const CORBA::ULong TAO_POA_HOLDING = (0x04U << 7)
const CORBA::ULong TAO_UNHANDLED_SERVER_CXX_EXCEPTION = (0x05U << 7)
const CORBA::ULong TAO_INVOCATION_RECV_REQUEST_MINOR_CODE = (0x06U << 7)
const CORBA::ULong TAO_CONNECTOR_REGISTRY_NO_USABLE_PROTOCOL = (0x07U << 7)
const CORBA::ULong TAO_MPROFILE_CREATION_ERROR = (0x08U << 7)
const CORBA::ULong TAO_TIMEOUT_CONNECT_MINOR_CODE = (0x09U << 7)
const CORBA::ULong TAO_TIMEOUT_SEND_MINOR_CODE = (0x0AU << 7)
const CORBA::ULong TAO_TIMEOUT_RECV_MINOR_CODE = (0x0BU << 7)
const CORBA::ULong TAO_IMPLREPO_MINOR_CODE = (0x0CU << 7)
const CORBA::ULong TAO_ACCEPTOR_REGISTRY_OPEN_LOCATION_CODE = (0x0DU << 7)
const CORBA::ULong TAO_ORB_CORE_INIT_LOCATION_CODE = (0x0EU << 7)
const CORBA::ULong TAO_POLICY_NARROW_CODE = (0x0FU << 7)
const CORBA::ULong TAO_GUARD_FAILURE = (0x10U << 7)
const CORBA::ULong TAO_POA_BEING_DESTROYED = (0x11U << 7)
const CORBA::ULong TAO_POA_INACTIVE = (0x12U << 7)
const CORBA::ULong TAO_CONNECTOR_REGISTRY_INIT_LOCATION_CODE = (0x13U << 7)
const CORBA::ULong TAO_AMH_REPLY_LOCATION_CODE = (0x14U << 7)
const CORBA::ULong TAO_RTCORBA_THREAD_CREATION_LOCATION_CODE = (0x15U << 7)

Defines

#define TAO_TWOWAY_RESPONSE_FLAG   255

Variables

const ULong CORBA::OMGVMCID = 0x4f4d0000U
 The OMG Vendor Minor Codeset ID (VMCID).
const CORBA::ULong TAO_SVC_CONTEXT_ALIGN = 0x54414f00U


Detailed Description

Id
ORB_Constants.h 76562 2007-01-24 18:37:07Z johnnyw

Constants needed by various files.

Author:
Jeff Parsons

Ossama Othman

Definition in file ORB_Constants.h.


Define Documentation

#define TAO_TWOWAY_RESPONSE_FLAG   255

Definition at line 30 of file ORB_Constants.h.

Referenced by TAO::Invocation_Adapter::set_response_flags(), TAO_GIOP_Message_Generator_Parser_12::write_request_header(), and TAO_GIOP_Message_Generator_Parser_10::write_request_header().


Variable Documentation

const int IPDSFIELD_DSCP_DEFAULT = 0x00

Local IPC (Unix Domain).

Definition at line 195 of file ORB_Constants.h.

Referenced by TAO_IIOP_Connection_Handler::set_dscp_codepoint().

const CORBA::ULong TAO_ACCEPTOR_REGISTRY_OPEN_LOCATION_CODE = (0x0DU << 7)

Definition at line 226 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info(), TAO_Acceptor_Registry::open(), and TAO_Acceptor_Registry::open_i().

const CORBA::ULong TAO_AMH_REPLY_LOCATION_CODE = (0x14U << 7)

Definition at line 233 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info().

const CORBA::ULong TAO_CONNECTOR_REGISTRY_INIT_LOCATION_CODE = (0x13U << 7)

Definition at line 232 of file ORB_Constants.h.

Referenced by TAO_Thread_Lane_Resources::connector_registry().

const CORBA::ULong TAO_CONNECTOR_REGISTRY_NO_USABLE_PROTOCOL = (0x07U << 7)

Definition at line 220 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info(), and TAO_Connector_Registry::make_mprofile().

const CORBA::ULong TAO_DEFAULT_MINOR_CODE = TAO::VMCID

TAO VMCID assigned by the OMG.

Note:
This constant has historically been used in the wrong way. It was often used as the location argument to the CORBA::SystemException::_tao_minor_code() static method. A more appropriate default location argument/value would have been zero since the location code resides in portion of the lower order 12 bits, not the higher order 20 bits which is where the VMCID resides, and what this value happens to be.
Deprecated:
Please use TAO::VMCID instead, or zero if being used as default TAO exception location code argument.
See also:
TAO::VMCID

Definition at line 134 of file ORB_Constants.h.

const CORBA::ULong TAO_GUARD_FAILURE = (0x10U << 7)

Definition at line 229 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info().

const CORBA::ULong TAO_IMPLREPO_MINOR_CODE = (0x0CU << 7)

Definition at line 225 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info().

const CORBA::ULong TAO_INVOCATION_LOCATION_FORWARD_MINOR_CODE = (0x01U << 7)

Definition at line 214 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info(), TAO::Synch_Twoway_Invocation::location_forward(), TAO::LocateRequest_Invocation_Adapter::object_forwarded(), and TAO::Invocation_Adapter::object_forwarded().

const CORBA::ULong TAO_INVOCATION_RECV_REQUEST_MINOR_CODE = (0x06U << 7)

Definition at line 219 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info(), TAO_Service_Callbacks::raise_comm_failure(), TAO_Service_Callbacks::raise_transient_failure(), and TAO_ORB_Core::service_raise_comm_failure().

const CORBA::ULong TAO_INVOCATION_SEND_REQUEST_MINOR_CODE = (0x02U << 7)

Definition at line 215 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info().

const CORBA::ULong TAO_MAX_MINOR_CODE = TAO::MAX_MINOR_CODE

Maximum allowed system exception minor code.

Deprecated:
Please use TAO::MAX_MINOR_CODE instead.
See also:
TAO::MAX_MINOR_CODE

Definition at line 144 of file ORB_Constants.h.

const CORBA::ULong TAO_MPROFILE_CREATION_ERROR = (0x08U << 7)

Definition at line 221 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info(), and TAO_Connector::make_mprofile().

const CORBA::ULong TAO_ORB_CORE_INIT_LOCATION_CODE = (0x0EU << 7)

Definition at line 227 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info(), TAO::find_orb_context(), TAO_ORB_Core::init(), CORBA::ORB_init(), and TAO_ORB_Core::set_endpoint_helper().

const CORBA::ULong TAO_POA_BEING_DESTROYED = (0x11U << 7)

Definition at line 230 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info().

const CORBA::ULong TAO_POA_DISCARDING = (0x03U << 7)

Definition at line 216 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info().

const CORBA::ULong TAO_POA_HOLDING = (0x04U << 7)

Definition at line 217 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info().

const CORBA::ULong TAO_POA_INACTIVE = (0x12U << 7)

Definition at line 231 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info().

const CORBA::ULong TAO_POLICY_NARROW_CODE = (0x0FU << 7)

Definition at line 228 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info().

const CORBA::ULong TAO_RTCORBA_THREAD_CREATION_LOCATION_CODE = (0x15U << 7)

Definition at line 234 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info().

const CORBA::ULong TAO_SVC_CONTEXT_ALIGN = 0x54414f00U

Note:
This is *extremely* brittle but works.

Definition at line 154 of file ORB_Constants.h.

Referenced by TAO_GIOP_Message_Generator_Parser_10::write_reply_header().

const CORBA::ULong TAO_TAG_COIOP_PROFILE = 0x54414f05U

COIOP.

Definition at line 183 of file ORB_Constants.h.

const CORBA::ULong TAO_TAG_DIOP_PROFILE = 0x54414f04U

UDP.

Definition at line 180 of file ORB_Constants.h.

const CORBA::ULong TAO_TAG_NSKFS_PROFILE = 0x00003039U

Tandem (HP) File System Protocol.

Definition at line 189 of file ORB_Constants.h.

const CORBA::ULong TAO_TAG_NSKPW_PROFILE = 0x0000303AU

Tandem (HP) Pathsend Protocol.

Definition at line 192 of file ORB_Constants.h.

const CORBA::ULong TAO_TAG_SCIOP_PROFILE = 0x54414f0EU

SCIOP.

Definition at line 186 of file ORB_Constants.h.

const CORBA::ULong TAO_TAG_SHMEM_PROFILE = 0x54414f02U

Shared memory.

Definition at line 174 of file ORB_Constants.h.

const CORBA::ULong TAO_TAG_UIOP_PROFILE = 0x54414f00U

Local IPC (Unix Domain).

Definition at line 168 of file ORB_Constants.h.

const CORBA::ULong TAO_TIMEOUT_CONNECT_MINOR_CODE = (0x09U << 7)

Definition at line 222 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info(), and TAO::Profile_Transport_Resolver::try_connect_i().

const CORBA::ULong TAO_TIMEOUT_RECV_MINOR_CODE = (0x0BU << 7)

Definition at line 224 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info(), and TAO::Synch_Twoway_Invocation::wait_for_reply().

const CORBA::ULong TAO_TIMEOUT_SEND_MINOR_CODE = (0x0AU << 7)

Definition at line 223 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info(), TAO_Transport::send_asynchronous_message_i(), TAO::Remote_Invocation::send_message(), and TAO_Transport::send_synchronous_message_i().

const CORBA::ULong TAO_UNHANDLED_SERVER_CXX_EXCEPTION = (0x05U << 7)

Definition at line 218 of file ORB_Constants.h.

Referenced by CORBA::SystemException::_info(), and TAO_GIOP_Message_Base::process_request().


Generated on Tue Feb 2 17:38:36 2010 for TAO by  doxygen 1.4.7