#include <RequestInfo_Util.h>
Static Public Member Functions | |
Factory Methods | |
These are methods called by TAO_{Client,Server}RequestInfo and their subclasses. Rather than having the same factory code in each subclass, we factor the common code in to this utility class. | |
| Dynamic::ParameterList * | make_parameter_list (void) |
| Dynamic::ExceptionList * | make_exception_list (void) |
| Dynamic::ContextList * | make_context_list (void) |
| Dynamic::RequestContext * | make_request_context (void) |
| CORBA::Any * | make_any (CORBA::Boolean tk_void_any) |
Definition at line 53 of file RequestInfo_Util.h.
|
|
Definition at line 91 of file RequestInfo_Util.cpp. References ACE_NEW_THROW_EX. Referenced by TAO_ClientRequestInfo::result().
00092 {
00093 CORBA::Any *any = 0;
00094 ACE_NEW_THROW_EX (any,
00095 CORBA::Any,
00096 CORBA::NO_MEMORY (
00097 CORBA::SystemException::_tao_minor_code (
00098 0,
00099 ENOMEM),
00100 CORBA::COMPLETED_NO));
00101
00102 if (tk_void_any)
00103 {
00104 any->_tao_set_typecode (CORBA::_tc_void);
00105 }
00106
00107 return any;
00108 }
|
|
|
Definition at line 57 of file RequestInfo_Util.cpp. References ACE_NEW_THROW_EX.
00058 {
00059 Dynamic::ContextList *context_list = 0;
00060 ACE_NEW_THROW_EX (context_list,
00061 Dynamic::ContextList,
00062 CORBA::NO_MEMORY (
00063 CORBA::SystemException::_tao_minor_code (
00064 0,
00065 ENOMEM),
00066 CORBA::COMPLETED_NO));
00067
00068 // No need to do an ACE_CHECK_RETURN. The caller should do that.
00069
00070 return context_list;
00071 }
|
|
|
Definition at line 40 of file RequestInfo_Util.cpp. References ACE_NEW_THROW_EX. Referenced by TAO_ClientRequestInfo::exceptions().
00041 {
00042 Dynamic::ExceptionList *exception_list = 0;
00043 ACE_NEW_THROW_EX (exception_list,
00044 Dynamic::ExceptionList,
00045 CORBA::NO_MEMORY (
00046 CORBA::SystemException::_tao_minor_code (
00047 0,
00048 ENOMEM),
00049 CORBA::COMPLETED_NO));
00050
00051 // No need to do an ACE_CHECK_RETURN. The caller should do that.
00052
00053 return exception_list;
00054 }
|
|
|
Definition at line 23 of file RequestInfo_Util.cpp. References ACE_NEW_THROW_EX. Referenced by TAO_ClientRequestInfo::arguments().
00024 {
00025 Dynamic::ParameterList *parameter_list = 0;
00026 ACE_NEW_THROW_EX (parameter_list,
00027 Dynamic::ParameterList,
00028 CORBA::NO_MEMORY (
00029 CORBA::SystemException::_tao_minor_code (
00030 0,
00031 ENOMEM),
00032 CORBA::COMPLETED_NO));
00033
00034 // No need to do an ACE_CHECK_RETURN. The caller should do that.
00035
00036 return parameter_list;
00037 }
|
|
|
Definition at line 74 of file RequestInfo_Util.cpp. References ACE_NEW_THROW_EX.
00075 {
00076 Dynamic::RequestContext *request_context = 0;
00077 ACE_NEW_THROW_EX (request_context,
00078 Dynamic::RequestContext,
00079 CORBA::NO_MEMORY (
00080 CORBA::SystemException::_tao_minor_code (
00081 0,
00082 ENOMEM),
00083 CORBA::COMPLETED_NO));
00084
00085 // No need to do an ACE_CHECK_RETURN. The caller should do that.
00086
00087 return request_context;
00088 }
|
1.3.6