You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
669 B
Objective-C
31 lines
669 B
Objective-C
//
|
|
// PEPSessionProvider.h
|
|
// pEpObjCAdapter
|
|
//
|
|
// Created by Andreas Buff on 09.10.17.
|
|
// Copyright © 2017 p≡p. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
@class PEPInternalSession;
|
|
|
|
/**
|
|
If you need a PEPInternaSession instance, PEPSessionProvider (and only PEPSessionProvider)
|
|
provides you with one.
|
|
|
|
Internally session provider creates a session per thread and caches it for as long as thread is not finished.
|
|
*/
|
|
@interface PEPSessionProvider : NSObject
|
|
|
|
/**
|
|
Provides a PEPInternalSession intance.
|
|
|
|
@return internal session instance suitable for the callers thread.
|
|
*/
|
|
+ (PEPInternalSession * _Nonnull)session;
|
|
|
|
+ (void)cleanup;
|
|
|
|
@end
|