mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
21 lines
403 B
Objective-C
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
|