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