Implementation of the real service, accessed through the GetRealService() function, as used in the Proxy Pattern. More...
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include "helpers/formatstring.h"
#include "Proxy_RealService.h"
Go to the source code of this file.
Functions | |
static bool | _Real_DoWork (DynamicString *someArgument) |
The real function that does all the work in the real service. | |
IWorkByProxy * | GetRealService (void) |
Return a pointer to the real service expressed as an IWorkByProxy service. | |
Variables | |
static IWorkByProxy | _real_service |
The real service that does all the work. | |
Implementation of the real service, accessed through the GetRealService() function, as used in the Proxy Pattern.
Definition in file Proxy_RealService.c.
|
static |
The real function that does all the work in the real service.
Definition at line 20 of file Proxy_RealService.c.
References DynamicString_Set(), formatstring(), and DynamicString::string.
IWorkByProxy * GetRealService | ( | void | ) |
Return a pointer to the real service expressed as an IWorkByProxy service.
Definition at line 53 of file Proxy_RealService.c.
References _real_service.
Referenced by Proxy_GetRealService().
|
static |
The real service that does all the work.
This would normally be a very expensive to create because it might be running on the server end of a remoting channel.
Definition at line 43 of file Proxy_RealService.c.
Referenced by GetRealService().