pEpObjCAdapter/PEPQueue.h
author Dirk Zimmermann <dz@pep.security>
Fri, 20 Sep 2019 10:01:48 +0200
branchIOSAD-141
changeset 1250 b6a4d30abd26
parent 195 cbfe333e6df2
child 1253 0532de0ff84a
permissions -rw-r--r--
IOSAD-141 Test for "hammering" the engine.
     1 //
     2 //  PEPQueue.h
     3 //  pEpiOSAdapter
     4 //
     5 //  Created by Volker Birk on 15.07.15.
     6 //  Copyright (c) 2015 p≡p. All rights reserved.
     7 //
     8 
     9 #import <Foundation/Foundation.h>
    10 
    11 typedef void (^deleteOp)(id);
    12 
    13 @interface PEPQueue : NSObject
    14 
    15 - (void)enqueue:(id)object;
    16 
    17 - (id)timedDequeue:(time_t*)timeout;
    18 
    19 - (id)dequeue;
    20 
    21 - (void)kill;
    22 
    23 - (void)purge:(deleteOp)del;
    24 
    25 @end