Base Framework
Public Types | Public Member Functions | List of all members
InvocationResult Class Reference

Result of remote invocation. More...

#include <base/rmi/InvocationResult.h>

Inherits Object.

Public Types

enum  Flags { FAILED = 1, EXCEPTION_RAISED = 2 }
 

Public Member Functions

 InvocationResult (unsigned int _flags, unsigned int _cause) noexcept
 
 InvocationResult (const InvocationResult &copy) noexcept
 
InvocationResultoperator= (const InvocationResult &assign) noexcept
 
unsigned int getFlags () const noexcept
 
unsigned int getCause () const noexcept
 

Detailed Description

Result of remote invocation.

Descriptor for the result of a remote invocation.

Version
1.0

Member Enumeration Documentation

◆ Flags

Invocation result flag.

Enumerator
FAILED 

Indicates that the invocation failed.

EXCEPTION_RAISED 

Specifies that an exception was raised at the server side.

Constructor & Destructor Documentation

◆ InvocationResult() [1/2]

InvocationResult::InvocationResult ( unsigned int  _flags,
unsigned int  _cause 
)
inlinenoexcept

Initializes the invocation result.

Parameters
flagsThe flags.
causeThe cause.

◆ InvocationResult() [2/2]

InvocationResult::InvocationResult ( const InvocationResult copy)
inlinenoexcept

Initialization of object from other object.

Member Function Documentation

◆ getCause()

unsigned int InvocationResult::getCause ( ) const
inlinenoexcept

Returns the cause.

◆ getFlags()

unsigned int InvocationResult::getFlags ( ) const
inlinenoexcept

Returns the flags.

◆ operator=()

InvocationResult& InvocationResult::operator= ( const InvocationResult assign)
inlinenoexcept

Assignment of object to object.