Sip Endpoint SDK for Apple OS
 All Classes Functions Properties
GSSessionManager.h
1 //
2 // GSSessionManager.h
3 // SipEndpoint
4 //
5 // Created by Valery Polishchuk on 09/4/12.
6 // Copyright (c) 2012 Genesys Labs. All rights reserved.
7 //
8 
9 
10 
11 #import <Foundation/Foundation.h>
12 #import "GSConnection.h"
13 #import "GSSessionNotificationDelegate.h"
14 #import "GSSessionPolicyDelegate.h"
15 #import "GSDevicePolicyDelegate.h"
16 #import "GSStatisticsNotificationDelegate.h"
17 #import "GSStatisticsService.h"
18 
24 @protocol GSSessionManager <NSObject>
25 
26 @property (nonatomic) int endpointId;
27 
33 - (NSArray*) allSessions;
34 
42 - (NSArray*) sessionsForConnection:(id<GSConnection>) connection;
43 
47 @property (nonatomic, assign) id<GSSessionNotificationDelegate> notificationDelegate;
48 
52 @property (nonatomic, assign) id<GSSessionPolicyDelegate> policyDelegate;
53 
57 @property (nonatomic, assign) id<GSStatisticsNotificationDelegate> statisticsNotificationDelegate;
58 
63 
67 - (GSResult) setAgcMode:(int) agcMode;
68 
72 - (GSResult) setDtxMode:(int) dtxMode vadLevel:(int) vadLevel;
73 
74 @end