LocalAPIContext Class Reference

#include <LocalAPIContext.hpp>

Public Member Functions

 LocalAPIContext (ServerManager t)
 
LocalAPIManagergetAPIManager ()
 
RexxReturnCode processServiceException (ServiceException *e)
 

Protected Attributes

LocalAPIManagerlocalManager
 
ServerManager target
 
RexxReturnCode serviceFailureCode
 
bool cleanupLocalManager
 
bool contextInitialized
 

Detailed Description

Definition at line 47 of file LocalAPIContext.hpp.

Constructor & Destructor Documentation

◆ LocalAPIContext()

LocalAPIContext::LocalAPIContext ( ServerManager  t)

Definition at line 51 of file LocalAPIContext.cpp.

References cleanupLocalManager, contextInitialized, localManager, and target.

Member Function Documentation

◆ getAPIManager()

LocalAPIManager * LocalAPIContext::getAPIManager ( )

◆ processServiceException()

RexxReturnCode LocalAPIContext::processServiceException ( ServiceException e)

Process a service exception thrown as part of an API

Parameters
eThe exception information (deleted before return).
Returns
The mapped return code.

Definition at line 74 of file LocalAPIContext.cpp.

References localManager, LocalAPIManager::processServiceException(), RXAPI_MEMFAIL, and target.

Member Data Documentation

◆ cleanupLocalManager

bool LocalAPIContext::cleanupLocalManager
protected

Definition at line 58 of file LocalAPIContext.hpp.

Referenced by LocalAPIContext().

◆ contextInitialized

bool LocalAPIContext::contextInitialized
protected

Definition at line 59 of file LocalAPIContext.hpp.

Referenced by getAPIManager(), and LocalAPIContext().

◆ localManager

LocalAPIManager* LocalAPIContext::localManager
protected

Definition at line 55 of file LocalAPIContext.hpp.

Referenced by getAPIManager(), LocalAPIContext(), and processServiceException().

◆ serviceFailureCode

RexxReturnCode LocalAPIContext::serviceFailureCode
protected

Definition at line 57 of file LocalAPIContext.hpp.

◆ target

ServerManager LocalAPIContext::target
protected

Definition at line 56 of file LocalAPIContext.hpp.

Referenced by LocalAPIContext(), and processServiceException().


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