#include <Context.h>
Public Methods | |
void | AddObjectReference (SqObjectReference *item) |
void | RemoveObjectReference (SqObjectReference *item) |
void | DeleteAllObjectReference () |
void | ReplaceObjectReference (SqObjectReference *item, SqObjectReference *newItem) |
SqObjectReference* | GetFirstObjectReference () const |
SqObjectReference* | GetLastObjectReference () const |
SqObjectReference* | GetNextObjectReference (SqObjectReference *pos) const |
SqObjectReference* | GetPrevObjectReference (SqObjectReference *pos) const |
int | GetObjectReferenceCount () const |
SqContextManager* | GetContextManager () const |
virtual | ~SqContext () |
Destructor method. More... | |
unsigned long | getNextObjSeq () |
Increases the object reference sequence number and returns the new value. More... | |
unsigned short | timeoutRemaining (const time_t *pNow=NULL) |
Returns the number of seconds this context has left to live. More... | |
const CString& | GetContextKey () const |
Returns the value of member 'm_contextKey'. More... | |
void | SetContextKey (const CString &rContextKey) |
Set the value of member 'm_contextKey' to 'rContextKey'. More... | |
unsigned long | GetKey () const |
Returns the value of member 'm_key'. More... | |
void | SetKey (unsigned long key) |
Set the value of member 'm_key' to 'key'. More... | |
time_t | GetLastAct () const |
Returns the value of member 'm_lastAct'. More... | |
void | SetLastAct (time_t lastAct) |
Set the value of member 'm_lastAct' to 'lastAct'. More... | |
unsigned short | GetTimeout () const |
Returns the value of member 'm_timeout'. More... | |
void | SetTimeout (unsigned short timeout) |
Set the value of member 'm_timeout' to 'timeout'. More... | |
const CString& | GetUserData () const |
Returns the value of member 'm_UserData'. More... | |
void | SetUserData (const CString &rUserData) |
Set the value of member 'm_UserData' to 'rUserData'. More... | |
SqObjectReference* | FindObjectReference (unsigned long ObjSeq) |
Public Attributes | |
SqContextManager* | _refContextManager |
SqContext* | _parentContextManager |
SqContext* | _leftContextManager |
SqContext* | _rightContextManager |
Protected Methods | |
SqContext (SqContextManager *pContextManager, unsigned long key, unsigned short timeout) | |
Constructor method. More... | |
Private Methods | |
void | ConstructorInclude (SqContextManager *pContextManager) |
Method which must be called first in a constructor. More... | |
void | DestructorInclude () |
Method which must be called first in a destructor. More... | |
Private Attributes | |
SqObjectReference* | _firstObjectReference |
int | _countObjectReference |
unsigned long | m_key |
unsigned short | m_timeout |
CString | m_UserData |
time_t | m_lastAct |
unsigned long | m_ObjSeq |
CString | m_contextKey |
Friends | |
class | SqContextManager |
Definition at line 45 of file Context.h.
|
Constructor method.
Definition at line 53 of file Context.cpp. |
|
Destructor method.
Definition at line 71 of file Context.cpp. |
|
Definition at line 208 of file Context.cpp. Referenced by SqObjectReference::ConstructorInclude(), ReplaceObjectReference(), and SqObjectReference::SetObjSeq(). |
|
Method which must be called first in a constructor.
Definition at line 128 of file Context.cpp. |
|
Definition at line 341 of file Context.cpp. |
|
Method which must be called first in a destructor.
Definition at line 147 of file Context.cpp. Referenced by ~SqContext(). |
|
Definition at line 159 of file Context.cpp. Referenced by SOAPBridge_ObjectContextManager_i::freeStoredObjectReference(), and SOAPBridge_ObjectContextManager_i::resolveStoredObjectReference(). |
|
Returns the value of member 'm_contextKey'.
|
|
|
|
Definition at line 396 of file Context.cpp. Referenced by DeleteAllObjectReference(), DestructorInclude(), and SqContext::ObjectReferenceIterator::IsFirst(). |
|
Returns the value of member 'm_key'.
Definition at line 218 of file Context.h. Referenced by SqContextManager::AddContext(), SqContextManager::FindContext(), and SqContextManager::ReplaceContext(). |
|
Returns the value of member 'm_lastAct'.
|
|
Definition at line 403 of file Context.cpp. Referenced by GetPrevObjectReference(), and SqContext::ObjectReferenceIterator::IsLast(). |
|
Definition at line 429 of file Context.cpp. Referenced by SqContext::ObjectReferenceIterator::Check(), and SqContext::ObjectReferenceIterator::operator++(). |
|
Definition at line 515 of file Context.cpp. Referenced by SOAPBridge_ObjectContextManager_i::listStoredIORs(), and SOAPBridge_ContextManager_i::queryContextInfo(). |
|
Definition at line 471 of file Context.cpp. Referenced by SqContext::ObjectReferenceIterator::Check(), and SqContext::ObjectReferenceIterator::operator--(). |
|
Returns the value of member 'm_timeout'.
Definition at line 248 of file Context.h. Referenced by SOAPBridge_ContextManager_i::queryContextInfo(). |
|
Returns the value of member 'm_UserData'.
Definition at line 268 of file Context.h. Referenced by SOAPBridge_ContextManager_i::queryContextInfo(). |
|
Definition at line 264 of file Context.cpp. Referenced by SqObjectReference::DestructorInclude(), ReplaceObjectReference(), and SqObjectReference::SetObjSeq(). |
|
Definition at line 350 of file Context.cpp. |
|
Set the value of member 'm_contextKey' to 'rContextKey'.
Definition at line 208 of file Context.h. Referenced by SqContextManager::CreateContext(), and SqContextManager::SqContextManager(). |
|
Set the value of member 'm_key' to 'key'.
Definition at line 109 of file Context.cpp. |
|
Set the value of member 'm_lastAct' to 'lastAct'.
Definition at line 238 of file Context.h. Referenced by SOAPBridge_ContextManager_i::setContextTimeout(), SOAPBridge_ContextManager_i::setContextUserData(), and storeObjRef(). |
|
Set the value of member 'm_timeout' to 'timeout'.
Definition at line 258 of file Context.h. Referenced by SOAPBridge_ContextManager_i::setContextTimeout(). |
|
Set the value of member 'm_UserData' to 'rUserData'.
Definition at line 278 of file Context.h. Referenced by SqContextManager::CreateContext(), and SOAPBridge_ContextManager_i::setContextUserData(). |
|
Increases the object reference sequence number and returns the new value.
Definition at line 82 of file Context.cpp. Referenced by storeObjRef(). |
|
Returns the number of seconds this context has left to live.
Definition at line 94 of file Context.cpp. Referenced by SOAPBridge_ContextManager_i::queryContextInfo(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|