TAO
2.3.3
|
Class with operation details. More...
#include <operation_details.h>
Friends | |
class | TAO::CSD::FW_Server_Request_Wrapper |
Helper methods used by the Invocation classes. | |
const char * | opname_ |
Name of the operation being invoked. More... | |
CORBA::ULong | opname_len_ |
Precalculated length of opname_. More... | |
CORBA::ULong | request_id_ |
Request ID of this operation. More... | |
CORBA::Octet | response_flags_ |
Response flags. More... | |
TAO_Service_Context | request_service_info_ |
TAO_Service_Context | reply_service_info_ |
TAO_Target_Specification::TAO_Target_Address | addressing_mode_ |
Addressing mode for this request. More... | |
TAO::Argument ** | args_ |
CORBA::ULong | num_args_ |
Number of arguments including the return value. More... | |
CORBA::Boolean | has_in_args_ |
A flag indicating any args are sent with the request. More... | |
TAO::Exception_Data * | ex_data_ |
The type of exceptions that the operations can throw. More... | |
CORBA::ULong | ex_count_ |
Count of the exceptions that operations can throw. More... | |
CORBA::Boolean | use_stub_args_ |
TimeBase::TimeT | ft_expiration_time_ |
FT request expiration time (absolute gregorian) More... | |
CORBA::Long | ft_retention_id_ |
FT request retention id. More... | |
TAO::Collocated_Arguments_Converter * | cac_ |
The optional collocated arguments converter. More... | |
TAO_Reply_Dispatcher * | reply_dispatcher_ |
The optional reply dispatcher. More... | |
bool | marshal_args (TAO_OutputCDR &cdr) |
Marshals the list of this->arg_ into the cdr. More... | |
bool | demarshal_args (TAO_InputCDR &cdr) |
Demarshals the list of this->arg_ into the cdr. More... | |
TAO::Argument ** | args (void) const |
Accessors for the argument list. More... | |
CORBA::ULong | args_num (void) const |
Name of the operation being invoked. More... | |
CORBA::ULong | ex_count (void) const |
Exception count. More... | |
TAO::Exception_Data const * | ex_data (void) const |
Name of the operation being invoked. More... | |
CORBA::Boolean | use_stub_args (void) const |
Name of the operation being invoked. More... | |
void | use_stub_args (CORBA::Boolean use_stub_arguments) |
Name of the operation being invoked. More... | |
void | ft_expiration_time (TimeBase::TimeT time) |
Name of the operation being invoked. More... | |
TimeBase::TimeT | ft_expiration_time (void) const |
Name of the operation being invoked. More... | |
void | ft_retention_id (CORBA::Long request_id) |
Name of the operation being invoked. More... | |
CORBA::Long | ft_retention_id (void) const |
Name of the operation being invoked. More... | |
TAO::Collocated_Arguments_Converter * | cac (void) const |
Accessor for cac_ pointer. More... | |
void | cac (TAO::Collocated_Arguments_Converter *cac) |
Name of the operation being invoked. More... | |
TAO_Reply_Dispatcher * | reply_dispatcher (void) const |
Name of the operation being invoked. More... | |
void | reply_dispatcher (TAO_Reply_Dispatcher *rd) |
Name of the operation being invoked. More... | |
Class with operation details.
This class stores some of the "operation" details that would be required by the invocation classes. This class is in its infancy now but I expect this one to grow as we come with different varieties of use cases.
TAO_Operation_Details::TAO_Operation_Details | ( | const char * | name, |
CORBA::ULong | len, | ||
TAO::Argument ** | args = 0 , |
||
CORBA::ULong | num_args = 0 , |
||
CORBA::Boolean | has_in_args = true , |
||
TAO::Exception_Data * | ex_data = 0 , |
||
CORBA::ULong | ex_count = 0 |
||
) |
Constructor.
TAO_Target_Specification::TAO_Target_Address TAO_Operation_Details::addressing_mode | ( | void | ) | const |
Accessor method for the addressing mode.
void TAO_Operation_Details::addressing_mode | ( | CORBA::Short | addr | ) |
Set method for the addressing mode.
TAO::Argument ** TAO_Operation_Details::args | ( | void | ) | const |
Accessors for the argument list.
CORBA::ULong TAO_Operation_Details::args_num | ( | void | ) | const |
Name of the operation being invoked.
CORBA::Boolean TAO_Operation_Details::argument_flag | ( | void | ) | const |
Return the flag that indicates whether the operation has any arguments
TAO::Collocated_Arguments_Converter * TAO_Operation_Details::cac | ( | void | ) | const |
Accessor for cac_ pointer.
void TAO_Operation_Details::cac | ( | TAO::Collocated_Arguments_Converter * | cac | ) |
Name of the operation being invoked.
CORBA::Exception * TAO_Operation_Details::corba_exception | ( | const char * | ex | ) | const |
Creates and returns a CORBA::Exception object whose repository id ex matches the exception list that this operation specified. This step is important to decode the exception that the client got from the server. If the exception received from the server is not found in the list of exceptions specified by the operation this call would raise an UNKNOWN exception.
bool TAO_Operation_Details::demarshal_args | ( | TAO_InputCDR & | cdr | ) |
Demarshals the list of this->arg_
into the cdr.
CORBA::ULong TAO_Operation_Details::ex_count | ( | void | ) | const |
Exception count.
TAO::Exception_Data const * TAO_Operation_Details::ex_data | ( | void | ) | const |
Name of the operation being invoked.
void TAO_Operation_Details::ft_expiration_time | ( | TimeBase::TimeT | time | ) |
Name of the operation being invoked.
TimeBase::TimeT TAO_Operation_Details::ft_expiration_time | ( | void | ) | const |
Name of the operation being invoked.
void TAO_Operation_Details::ft_retention_id | ( | CORBA::Long | request_id | ) |
Name of the operation being invoked.
CORBA::Long TAO_Operation_Details::ft_retention_id | ( | void | ) | const |
Name of the operation being invoked.
bool TAO_Operation_Details::has_exception | ( | ::CORBA::Exception & | ex | ) | const |
Check whether exception ex is in the signature of this operation.
CORBA::Boolean TAO_Operation_Details::in_argument_flag | ( | void | ) | const |
bool TAO_Operation_Details::marshal_args | ( | TAO_OutputCDR & | cdr | ) |
Marshals the list of this->arg_
into the cdr.
const char * TAO_Operation_Details::opname | ( | void | ) | const |
Operation name.
CORBA::ULong TAO_Operation_Details::opname_len | ( | void | ) | const |
Length of the operation name.
TAO_Reply_Dispatcher * TAO_Operation_Details::reply_dispatcher | ( | void | ) | const |
Name of the operation being invoked.
void TAO_Operation_Details::reply_dispatcher | ( | TAO_Reply_Dispatcher * | rd | ) |
Name of the operation being invoked.
TAO_Service_Context & TAO_Operation_Details::reply_service_context | ( | void | ) |
const TAO_Service_Context & TAO_Operation_Details::reply_service_context | ( | void | ) | const |
IOP::ServiceContextList & TAO_Operation_Details::reply_service_info | ( | void | ) |
const IOP::ServiceContextList & TAO_Operation_Details::reply_service_info | ( | void | ) | const |
void TAO_Operation_Details::request_id | ( | CORBA::ULong | id | ) |
Cache the request id.
CORBA::ULong TAO_Operation_Details::request_id | ( | void | ) | const |
Return the request ID associated with the operation.
TAO_Service_Context & TAO_Operation_Details::request_service_context | ( | void | ) |
Access the TAO_Service_Context.
const TAO_Service_Context & TAO_Operation_Details::request_service_context | ( | void | ) | const |
IOP::ServiceContextList & TAO_Operation_Details::request_service_info | ( | void | ) |
Accessors for the service context list.
const IOP::ServiceContextList & TAO_Operation_Details::request_service_info | ( | void | ) | const |
void TAO_Operation_Details::reset_reply_service_info | ( | void | ) |
void TAO_Operation_Details::reset_request_service_info | ( | void | ) |
Reset the contents of the service context lists that we hold.
void TAO_Operation_Details::response_flags | ( | CORBA::Octet | flags | ) |
Set the response flags.
CORBA::Octet TAO_Operation_Details::response_flags | ( | void | ) | const |
Get the response flags.
CORBA::Boolean TAO_Operation_Details::use_stub_args | ( | void | ) | const |
Name of the operation being invoked.
void TAO_Operation_Details::use_stub_args | ( | CORBA::Boolean | use_stub_arguments | ) |
Name of the operation being invoked.
|
friend |
Declare FW_Server_Request_Wrapper a friend This friendship makes the FW_Server_Request_Wrapper be able to clone the TAO_Operation_Details data member in TAO_ServerRequest.
|
private |
Addressing mode for this request.
|
private |
The arguments of this operation. Note that the return value is also an argument
|
private |
The optional collocated arguments converter.
|
private |
Count of the exceptions that operations can throw.
|
private |
The type of exceptions that the operations can throw.
|
private |
FT request expiration time (absolute gregorian)
|
private |
FT request retention id.
|
private |
A flag indicating any args are sent with the request.
|
private |
Number of arguments including the return value.
|
private |
Name of the operation being invoked.
|
private |
Precalculated length of opname_.
|
private |
The optional reply dispatcher.
|
private |
The ServiceContextList received from the server side. Only valid when sending a request.
|
private |
Request ID of this operation.
|
private |
The ServiceContextList sent to the server side. Only valid when sending a request.
|
private |
Response flags.
|
private |
Boolean flag to indicate whether in the skeletons the stub arguments stored in these operation details should be used or not.