mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-05-31 01:01:19 +00:00
* GSWeb.framework/GSWSessionStore.m/.h:
o partial rewriting of checkin/checkout code git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@17027 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2e36c23220
commit
357bd8f7b8
2 changed files with 88 additions and 120 deletions
|
@ -35,18 +35,13 @@
|
|||
|
||||
@interface GSWSessionStore : NSObject <NSLocking>
|
||||
{
|
||||
NSMutableSet* _usedIDs;
|
||||
NSRecursiveLock* _lock;
|
||||
GSWSessionTimeOutManager* _timeOutManager;
|
||||
#ifndef NDEBUG
|
||||
int _lockn;
|
||||
#endif
|
||||
//TODO void* sessionCheckedInCondition;
|
||||
};
|
||||
|
||||
-(void)dealloc;
|
||||
-(id)init;
|
||||
|
||||
-(GSWSession*)removeSessionWithID:(NSString*)aSessionID;
|
||||
-(GSWSession*)restoreSessionWithID:(NSString*)aSessionID
|
||||
request:(GSWRequest*)aRequest;
|
||||
|
@ -56,10 +51,6 @@
|
|||
-(void)checkInSessionForContext:(GSWContext*)aContext;
|
||||
|
||||
-(void)_checkInSessionForContext:(GSWContext*)aContext;
|
||||
-(GSWSession*)_checkOutSessionWithID:(NSString*)aSessionID
|
||||
request:(GSWRequest*)aRequest;
|
||||
-(void)_checkinSessionID:(NSString*)aSessionID;
|
||||
-(void)_checkoutSessionID:(NSString*)aSessionID;
|
||||
-(void)unlock;
|
||||
-(BOOL)tryLock;
|
||||
-(void)lock;
|
||||
|
@ -82,13 +73,13 @@ secure:(BOOL)flag;
|
|||
-(void)saveSession:(GSWSession*)session;
|
||||
@end
|
||||
*/
|
||||
|
||||
/*
|
||||
//====================================================================
|
||||
@interface GSWSessionStore (GSWSessionStoreA)
|
||||
-(BOOL)_isSessionIDCheckedOut:(NSString*)aSessionID;
|
||||
|
||||
@end
|
||||
|
||||
*/
|
||||
//====================================================================
|
||||
@interface GSWSessionStore (GSWSessionStoreB)
|
||||
-(void)_validateAPI;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue