Ice 3.7 C++98 API Reference
Loading...
Searching...
No Matches
Ice::AMD_Object_ice_invoke Class Referenceabstract

Base class for the AMD callback for BlobjectAsync::ice_invoke_async. More...

#include <Ice/Ice.h>

Inheritance diagram for Ice::AMD_Object_ice_invoke:
Collaboration diagram for Ice::AMD_Object_ice_invoke:

Public Member Functions

virtual void ice_response (bool ok, const std::pair< const Ice::Byte *, const Ice::Byte * > &bytes)=0
 Completes the request.
virtual void ice_response (bool ok, const std::vector< Ice::Byte > &bytes)=0
 Completes the request.
virtual ~AMD_Object_ice_invoke ()
Public Member Functions inherited from Ice::AMDCallback
virtual void ice_exception ()=0
 Completes the asynchronous request with an UnknownException.
virtual void ice_exception (const ::std::exception &ex)=0
 Completes the asynchronous request with the given exception.
virtual ~AMDCallback ()
Public Member Functions inherited from Ice::LocalObject
virtual bool operator< (const LocalObject &) const
virtual bool operator== (const LocalObject &) const
Public Member Functions inherited from IceUtil::Shared
void __clearFlag (unsigned char flag)
virtual void __decRef ()
virtual int __getRef () const
bool __hasFlag (unsigned char flag)
virtual void __incRef ()
void __setFlag (unsigned char flag)
virtual void __setNoDelete (bool)
Sharedoperator= (const Shared &)
 Shared ()
 Shared (const Shared &)
virtual ~Shared ()

Additional Inherited Members

Static Public Attributes inherited from IceUtil::Shared
static const unsigned char NoDelete
Protected Attributes inherited from IceUtil::Shared
unsigned char _flags
IceUtilInternal::Atomic _ref

Detailed Description

Base class for the AMD callback for BlobjectAsync::ice_invoke_async.

Constructor & Destructor Documentation

◆ ~AMD_Object_ice_invoke()

virtual Ice::AMD_Object_ice_invoke::~AMD_Object_ice_invoke ( )
virtual

Member Function Documentation

◆ ice_response() [1/2]

virtual void Ice::AMD_Object_ice_invoke::ice_response ( bool ok,
const std::pair< const Ice::Byte *, const Ice::Byte * > & bytes )
pure virtual

Completes the request.

Parameters
okTrue if the request completed successfully, in which case bytes contains an encapsulation of the marshaled results. False if the request completed with a user exception, in which case bytes contains an encapsulation of the marshaled user exception.
bytesAn encapsulation of the results or user exception.

◆ ice_response() [2/2]

virtual void Ice::AMD_Object_ice_invoke::ice_response ( bool ok,
const std::vector< Ice::Byte > & bytes )
pure virtual

Completes the request.

Parameters
okTrue if the request completed successfully, in which case bytes contains an encapsulation of the marshaled results. False if the request completed with a user exception, in which case bytes contains an encapsulation of the marshaled user exception.
bytesAn encapsulation of the results or user exception.

The documentation for this class was generated from the following file: