TAO_PortableServer
2.0.8
|
Abstract class for maintaining and lookup of CORBA IDL operation names. More...
#include <Operation_Table.h>
Public Member Functions | |
virtual int | find (const char *opname, TAO_Skeleton &skelfunc, const unsigned int length=0)=0 |
virtual int | find (const char *opname, TAO_Collocated_Skeleton &skelfunc, TAO::Collocation_Strategy s, const unsigned int length=0)=0 |
virtual int | bind (const char *opname, const TAO::Operation_Skeletons skel_ptr)=0 |
virtual | ~TAO_Operation_Table (void) |
Abstract class for maintaining and lookup of CORBA IDL operation names.
TAO_Operation_Table::~TAO_Operation_Table | ( | void | ) | [virtual] |
virtual int TAO_Operation_Table::bind | ( | const char * | opname, |
const TAO::Operation_Skeletons | skel_ptr | ||
) | [pure virtual] |
Associate the skeleton skel_ptr with an operation named opname. Returns -1 on failure, 0 on success, 1 on duplicate.
Implemented in TAO_Dynamic_Hash_OpTable, TAO_Perfect_Hash_OpTable, TAO_Binary_Search_OpTable, and TAO_Linear_Search_OpTable.
virtual int TAO_Operation_Table::find | ( | const char * | opname, |
TAO_Skeleton & | skelfunc, | ||
const unsigned int | length = 0 |
||
) | [pure virtual] |
Uses opname to look up the skeleton function and pass it back in skelfunc. Returns non-negative integer on success, or -1 on failure.
Implemented in TAO_Dynamic_Hash_OpTable, TAO_Perfect_Hash_OpTable, TAO_Binary_Search_OpTable, and TAO_Linear_Search_OpTable.
virtual int TAO_Operation_Table::find | ( | const char * | opname, |
TAO_Collocated_Skeleton & | skelfunc, | ||
TAO::Collocation_Strategy | s, | ||
const unsigned int | length = 0 |
||
) | [pure virtual] |
Uses opname to look up the collocated skeleton function and pass it back in skelfunc. Returns non-negative integer on success, or -1 on failure.
Implemented in TAO_Dynamic_Hash_OpTable, TAO_Perfect_Hash_OpTable, TAO_Binary_Search_OpTable, and TAO_Linear_Search_OpTable.