RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
InvokeRegistry.TObjMultiOptions Enumeration

TObjMultiOptions indicates how multiple references to the same remotable class should be translated into a SOAP representation.

Pascal
TObjMultiOptions = (
  ocDefault,
  ocMultiRef,
  ocNoMultiRef
);
C++
enum TObjMultiOptions {
  ocDefault,
  ocMultiRef,
  ocNoMultiRef
};

InvokeRegistry

TObjMultiOptions indicates a class-specific override to the default strategy for converting multiple references to the same object instance into the corresponding SOAP representation. It indicates whether a remotable object should be treated by value (like a structure) or by reference (where object identity is meaningful).

Value 
Meaning 
ocDefault  
Use the default strategy for handling multiple references.  
ocMultiRef  
Always indicate in the SOAP packet when multiple references refer to the same instance of the specified class.  
ocNoMultiRef  
Never indicate in the SOAP packet when multiple references refer to the same instance of the specified class. That is, always treat it "by value".  

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!