SIP Endpoint SDK for OS X
 All Classes Functions Properties
GSSessionManager.h
1 //
2 // GSSessionManager.h
3 // SipEndpoint
4 //
5 // Copyright (c) 2011-2018 Genesys Telecommunications Laboratories, Inc. All rights reserved.
6 //
7 
8 #import <Foundation/Foundation.h>
9 #import "InternalEvents.h"
10 #import "NotificationDelegates.h"
11 #import "PolicyDelegates.h"
12 #import "Services.h"
13 
19 @protocol GSSessionManager <NSObject>
20 
26 - (NSArray*) allSessions;
27 
35 - (NSArray*) sessionsForConnection:(id<GSConnection>) connection;
36 
37 - (id<GSSession>) newSessionWithCallId:(int) callId;
38 
42 @property (nonatomic, retain) id<GSSessionNotificationDelegate> notificationDelegate;
43 
47 @property (nonatomic, retain) id<GSSessionPolicyDelegate> policyDelegate;
48 
52 @property (nonatomic, retain) id<GSStatisticsNotificationDelegate> statisticsNotificationDelegate;
53 
58 
59 - (id<GSSession>) sessionBySessionId:(int) sessionId;
60 
61 - (void) sessionStateChanged:(GSInternalSessionEvent*) sessionEvent;
62 
63 @end