-
Notifications
You must be signed in to change notification settings - Fork 11
/
CPDistributedMessagingCenter.h
43 lines (39 loc) · 1.95 KB
/
CPDistributedMessagingCenter.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/**
* This header is generated by class-dump-z 0.1-11s.
* class-dump-z is Copyright (C) 2009 by KennyTM~, licensed under GPLv3.
*
* Source: /System/Library/PrivateFrameworks/AppSupport.framework/AppSupport
*/
#import <Foundation/Foundation.h>
@class NSLock, NSMutableDictionary, NSOperationQueue, NSString, NSDictionary, NSError;
@interface CPDistributedMessagingCenter : NSObject {
NSString* _centerName;
NSLock* _lock;
unsigned _sendPort;
CFMachPortRef _invalidationPort;
NSOperationQueue* _asyncQueue;
CFRunLoopSourceRef _serverSource;
NSString* _requiredEntitlement;
NSMutableDictionary* _callouts;
}
+(CPDistributedMessagingCenter*)centerNamed:(NSString*)serverName;
-(id)_initWithServerName:(NSString*)serverName;
// inherited: -(void)dealloc;
-(NSString*)name;
-(unsigned)_sendPort;
-(void)_serverPortInvalidated;
-(BOOL)sendMessageName:(NSString*)name userInfo:(NSDictionary*)info;
-(NSDictionary*)sendMessageAndReceiveReplyName:(NSString*)name userInfo:(NSDictionary*)info;
-(NSDictionary*)sendMessageAndReceiveReplyName:(NSString*)name userInfo:(NSDictionary*)info error:(NSError**)error;
-(void)sendMessageAndReceiveReplyName:(NSString*)name userInfo:(NSDictionary*)info toTarget:(id)target selector:(SEL)selector context:(void*)context;
-(BOOL)_sendMessage:(id)message userInfo:(id)info receiveReply:(id*)reply error:(id*)error toTarget:(id)target selector:(SEL)selector context:(void*)context;
-(BOOL)_sendMessage:(id)message userInfoData:(id)data oolKey:(id)key oolData:(id)data4 receiveReply:(id*)reply error:(id*)error;
-(void)runServerOnCurrentThread;
-(void)runServerOnCurrentThreadProtectedByEntitlement:(id)entitlement;
-(void)stopServer;
-(void)registerForMessageName:(NSString*)messageName target:(id)target selector:(SEL)selector;
-(void)unregisterForMessageName:(NSString*)messageName;
-(void)_dispatchMessageNamed:(id)named userInfo:(id)info reply:(id*)reply auditToken:(id*)token;
-(BOOL)_isTaskEntitled:(id*)entitled;
-(id)_requiredEntitlement;
@end