1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/ATActorSystem.h
2014-07-10 18:11:09 +04:00

21 lines
403 B
Objective-C

#import <Foundation/Foundation.h>
#import "ATMessageReceiver.h"
@class ATQueue;
@class ATActor;
@interface ATActorSystem : NSObject
- (instancetype)init;
- (instancetype)initWithQueue:(ATQueue *)queue;
- (ATQueue *)queue;
- (bool)addActor:(ATActor *)actor;
- (void)_removeActor:(ATActor *)actor;
- (void)sendMessage:(id)message toPath:(NSString *)path sender:(id<ATMessageReceiver>)sender;
@end