SIP Endpoint SDK for OS X
 All Classes Functions Properties
<GSSessionManager> Protocol Reference

#import <GSSessionManager.h>

Inheritance diagram for <GSSessionManager>:
GSSipSessionManager

List of all members.

Public Member Functions

(NSArray *) - allSessions
(NSArray *) - sessionsForConnection:
(id< GSSession >) - newSessionWithCallId:
(id< GSStatisticsService >) - statisticsService
(id< GSSession >) - sessionBySessionId:
(void) - sessionStateChanged:

Properties

id< GSSessionNotificationDelegatenotificationDelegate
id< GSSessionPolicyDelegatepolicyDelegate
id
< GSStatisticsNotificationDelegate
statisticsNotificationDelegate

Detailed Description

This protocol defines the functionality of a session manager which is responsible for handling all sessions. This object provides lists of current active sessions, some search functionality, as well as the ability to configure policy and receive notifications regarding session state.

Definition at line 19 of file GSSessionManager.h.


Member Function Documentation

- (NSArray*) allSessions

Returns a list of active sessions currently monitored by the session manager.

Returns:
an array of id<GSSession> objects
- (NSArray*) sessionsForConnection: (id< GSConnection >)  connection

Returns a list of active sessions established over the specified connection.

Parameters:
connectionthe connection for which to retrieve the sessions
Returns:
an array of id<GSSession> objects
- (id<GSStatisticsService>) statisticsService
Returns:
an instance of the Statistics Service to be used for get statistics functionality

Property Documentation

- (id<GSSessionNotificationDelegate>) notificationDelegate
readwritenonatomicretain

Get/set the delegate to be notified about sessions state.

Reimplemented in GSSipSessionManager.

Definition at line 42 of file GSSessionManager.h.

- (id<GSSessionPolicyDelegate>) policyDelegate
readwritenonatomicretain

Get/set the policy which defines aspects of session behavior.

Reimplemented in GSSipSessionManager.

Definition at line 47 of file GSSessionManager.h.

- (id<GSStatisticsNotificationDelegate>) statisticsNotificationDelegate
readwritenonatomicretain

Get/set the delegate to be notified about sessions statistics.

Reimplemented in GSSipSessionManager.

Definition at line 52 of file GSSessionManager.h.


The documentation for this protocol was generated from the following file: