mirror of
https://github.com/oxen-io/session-ios.git
synced 2023-12-13 21:30:14 +01:00
Still need to: - Fix indentation - Check for any FutureSource being returned instead of FutureSource.future - Check for then: vs thenTry: mixups - Check for main thread related issues - Check for other exception catching issues - Adjust directory layout - Manual end-to-end testing
27 lines
910 B
Objective-C
27 lines
910 B
Objective-C
#import <Foundation/Foundation.h>
|
|
#import "HttpManager.h"
|
|
#import "ResponderSessionDescriptor.h"
|
|
#import "CallController.h"
|
|
|
|
/**
|
|
*
|
|
* CallConnectUtil_Responder is a utility class that deals with the details of responding to a call:
|
|
* - Contacting the described signaling server
|
|
* - Signalling busy or ringing
|
|
* - Forwarding later signals like 'hangup'
|
|
* - Contacting the described relay server
|
|
* - Starting the zrtp handshake
|
|
* - etc
|
|
*
|
|
**/
|
|
@interface CallConnectUtil_Responder : NSObject
|
|
|
|
/// Result has type Future(CallConnectResult)
|
|
+(TOCFuture*) asyncConnectToIncomingCallWithSessionDescriptor:(ResponderSessionDescriptor*)sessionDescriptor
|
|
andCallController:(CallController*)callController;
|
|
|
|
/// Result has type Future(HttpResponse)
|
|
+(TOCFuture*) asyncSignalTooBusyToAnswerCallWithSessionDescriptor:(ResponderSessionDescriptor*)sessionDescriptor;
|
|
|
|
@end
|