#include <iostream.h>
#include <OB/CORBA.h>
#include <OB/CosNaming.h>
#include "BridgeStub.h"
#include "ObjCtx.h"
#include "SoapBridge.h"
#include "SoapBridge_skel.h"
Go to the source code of this file.
Compounds | |
class | ContextCleaner |
The context cleaner background task. More... | |
class | SOAPBridge_ContextManager_i |
Class implementing IDL interface SOAPBridge::ContextManager. More... | |
class | SOAPBridge_ObjectContextManager_i |
Class implementing IDL interface SOAPBridge::ObjectContextManager. More... | |
Functions | |
void | testValidTimeout (unsigned short toSec) |
Hardcoded implementation of the Context upper and lower timeout limits. More... | |
SqContext* | findContext (const char *contextKey) |
Find and return the SqContext for a given contextKey or throw an exception. More... | |
char* | storeObjRef (const char *contextKey, CORBA::Object_ptr objectReference) |
Store the object and return its stringified reference or throw an exception. More... | |
int | main (int argn, char *argv[]) |
Main entry point of the Object Context Manager. More... | |
Variables | |
SqContextManager* | pCtxMan = NULL |
The actual Context Manager. More... | |
CORBA::ORB_ptr | orb |
The ORB is global. More... | |
SOAPBridge_ContextManager_i* | mySOAPBridge_ContextManager_i |
Used by the ObjectContextManager to call its inherited ContextManager functions. More... | |
SOAPBridge_ObjectContextManager_i* | mySOAPBridge_ObjectContextManager_i |
For local access. More... | |
JTCMonitor | contextMonitor |
Synchronize context management. More... |
Definition in file ObjCtxMan.cpp.
|
Find and return the SqContext for a given contextKey or throw an exception.
Definition at line 124 of file ObjCtxMan.cpp. Referenced by SOAPBridge_ContextManager_i::freeContext(), SOAPBridge_ObjectContextManager_i::freeStoredObjectReference(), SOAPBridge_ObjectContextManager_i::listStoredIORs(), SOAPBridge_ContextManager_i::queryContextInfo(), SOAPBridge_ObjectContextManager_i::resolveStoredObjectReference(), SOAPBridge_ContextManager_i::setContextTimeout(), and SOAPBridge_ContextManager_i::setContextUserData(). |
|
Main entry point of the Object Context Manager.
Definition at line 439 of file ObjCtxMan.cpp. |
|
Store the object and return its stringified reference or throw an exception.
Definition at line 137 of file ObjCtxMan.cpp. Referenced by main(), and SOAPBridge_ObjectContextManager_i::storeObjectReference(). |
|
Hardcoded implementation of the Context upper and lower timeout limits.
Definition at line 112 of file ObjCtxMan.cpp. Referenced by SOAPBridge_ContextManager_i::allocateContext(), and SOAPBridge_ContextManager_i::setContextTimeout(). |
|
Synchronize context management.
Definition at line 109 of file ObjCtxMan.cpp. |
|
Used by the ObjectContextManager to call its inherited ContextManager functions.
Definition at line 104 of file ObjCtxMan.cpp. |
|
For local access.
Definition at line 106 of file ObjCtxMan.cpp. |
|
The ORB is global.
Definition at line 101 of file ObjCtxMan.cpp. |
|
The actual Context Manager.
Definition at line 98 of file ObjCtxMan.cpp. |