chatsecureios / ChatSecure / Classes / Controllers / XMPP / OTRXMPPManager_Private.h @ a4bb25f6
History | View | Annotate | Download (2.82 KB)
| 1 |
//
|
|---|---|
| 2 |
// OTRXMPPManager_Private.h
|
| 3 |
// ChatSecure
|
| 4 |
//
|
| 5 |
// Created by Chris Ballinger on 11/5/16.
|
| 6 |
// Copyright © 2016 Chris Ballinger. All rights reserved.
|
| 7 |
//
|
| 8 |
|
| 9 |
#import "OTRXMPPManager.h" |
| 10 |
#import "OTRCertificatePinning.h" |
| 11 |
#import "OTRXMPPMessageYapStorage.h" |
| 12 |
#import "OTRXMPPBuddyManager.h" |
| 13 |
#import <ChatSecureCore/ChatSecureCore-Swift.h>
|
| 14 |
#import "OTRYapDatabaseRosterStorage.h" |
| 15 |
#import "OTRXMPPRoomManager.h" |
| 16 |
#import "OTRXMPPBuddyTimers.h" |
| 17 |
#import "OTRXMPPStream.h" |
| 18 |
|
| 19 |
NS_ASSUME_NONNULL_BEGIN |
| 20 |
@interface OTRXMPPManager() <OTRCertificatePinningDelegate>
|
| 21 |
|
| 22 |
@property (nonatomic, strong, readonly) OTRXMPPStream *xmppStream;
|
| 23 |
@property (nonatomic, strong, readonly) XMPPReconnect *xmppReconnect;
|
| 24 |
@property (nonatomic, strong, readonly) XMPPvCardTempModule *xmppvCardTempModule;
|
| 25 |
@property (nonatomic, strong, readonly) XMPPvCardAvatarModule *xmppvCardAvatarModule;
|
| 26 |
@property (nonatomic, strong, readonly) XMPPCapabilitiesCoreDataStorage *xmppCapabilitiesStorage;
|
| 27 |
@property (nonatomic, strong, readonly) OTRYapDatabaseRosterStorage * xmppRosterStorage;
|
| 28 |
@property (nonatomic, strong) OTRCertificatePinning * certificatePinningModule;
|
| 29 |
|
| 30 |
@property (nonatomic, strong, readonly) XMPPStreamManagement *streamManagement;
|
| 31 |
|
| 32 |
@property (nonatomic, strong, readonly) MessageStorage *messageStorage;
|
| 33 |
@property (nonatomic, strong, readonly) OTRXMPPBuddyManager* xmppBuddyManager;
|
| 34 |
@property (nonatomic, strong, readonly) OMEMOModule *omemoModule;
|
| 35 |
@property (nonatomic, strong, nullable) OTRXMPPChangePasswordManager *changePasswordManager;
|
| 36 |
|
| 37 |
@property (nonatomic, strong, readonly) YapDatabaseConnection *databaseConnection;
|
| 38 |
@property (nonatomic, strong, readonly) XMPPMessageDeliveryReceipts *deliveryReceipts;
|
| 39 |
@property (nonatomic, strong, readonly) OTRXMPPMessageStatusModule *messageStatusModule;
|
| 40 |
@property (nonatomic, strong, readonly) OTRStreamManagementDelegate *streamManagementDelegate;
|
| 41 |
@property (nonatomic, strong, readonly) XMPPStanzaIdModule *stanzaIdModule;
|
| 42 |
|
| 43 |
|
| 44 |
@property (nonatomic, strong, readonly) dispatch_queue_t workQueue;
|
| 45 |
@property (nonatomic, strong, readonly) NSMutableDictionary<NSString*,OTRXMPPBuddyTimers*> * buddyTimers;
|
| 46 |
|
| 47 |
@property (nonatomic, strong, nullable) OTRXMPPChangeAvatar *changeAvatar;
|
| 48 |
|
| 49 |
@property (nonatomic, readwrite) BOOL isRegisteringNewAccount;
|
| 50 |
@property (nonatomic, readwrite) BOOL userInitiatedConnection;
|
| 51 |
@property (nonatomic, readwrite) OTRLoginStatus loginStatus;
|
| 52 |
@property (atomic, readwrite) OTRProtocolConnectionStatus connectionStatus;
|
| 53 |
|
| 54 |
- (void)setupStream;
|
| 55 |
- (void)teardownStream;
|
| 56 |
|
| 57 |
- (void)goOnline;
|
| 58 |
- (void)goOffline;
|
| 59 |
- (void)failedToConnect:(NSError *)error;
|
| 60 |
|
| 61 |
/** wtf. why isn't this being picked up by OTRProtocol */
|
| 62 |
- (void) connectUserInitiated:(BOOL)userInitiated;
|
| 63 |
|
| 64 |
/** Return a newly allocated stream object. This is overridden in OTRXMPPTorManager to use ProxyXMPPStream instead of OTRXMPPStream */
|
| 65 |
- (OTRXMPPStream*) newStream; |
| 66 |
|
| 67 |
@end
|
| 68 |
NS_ASSUME_NONNULL_END |