pEpObjCAdapter/PEPObjCAdapter+Internal.h
author buff <andreas@pep-project.org>
Wed, 11 Oct 2017 09:59:01 +0200
branchIOSAD-50
changeset 269 5a187b6cf883
parent 254 55a28fe1d9f9
child 272 c456123edfa7
permissions -rw-r--r--
IOSAD-50 renames PEPSession to be able to create a fake PEPSession class for clients
dirk@187
     1
//
dirk@187
     2
//  PEPIOSAdapter+Internal.h
dirk@187
     3
//  pEpiOSAdapter
dirk@187
     4
//
dirk@187
     5
//  Created by Edouard Tisserant on 11/11/15.
dirk@187
     6
//  Copyright © 2015 p≡p. All rights reserved.
dirk@187
     7
//
dirk@187
     8
dirk@187
     9
#ifndef PEPIOSAdapter_Internal_h
dirk@187
    10
#define PEPIOSAdapter_Internal_h
dirk@187
    11
dirk@187
    12
#import "sync.h"
dirk@187
    13
dirk@187
    14
#import "PEPQueue.h"
andreas@269
    15
#import "PEPInternalSession.h"
andreas@269
    16
#import "PEPInternalSession+Internal.h"
dirk@187
    17
dirk@187
    18
@interface PEPObjCAdapter ()
dirk@187
    19
dirk@254
    20
/**
dirk@254
    21
 The lock that should be used for locking all session init() and release().
dirk@254
    22
 */
dirk@254
    23
+ (NSLock *)initLock;
dirk@254
    24
dirk@187
    25
// this messages are for internal use only; do not call
dirk@187
    26
dirk@187
    27
+ (void)registerExamineFunction:(PEP_SESSION)session;
dirk@187
    28
+ (PEPQueue*)getLookupQueue;
dirk@187
    29
dirk@187
    30
+ (PEPQueue*)getSyncQueue;
dirk@187
    31
+ (id <PEPSyncDelegate>)getSyncDelegate;
andreas@269
    32
+ (void)bindSession:(PEPInternalSession*)session;
andreas@269
    33
+ (void)unbindSession:(PEPInternalSession*)session;
dirk@187
    34
dirk@187
    35
dirk@187
    36
@end
dirk@187
    37
dirk@187
    38
#endif /* PEPIOSAdapter_Internal_h */