Sip Endpoint SDK for Apple OS
<GSSessionManager> Protocol Reference

#import <GSSessionManager.h>

List of all members.

Public Member Functions

(NSArray *) - allSessions
(NSArray *) - sessionsForConnection:

Properties

id< GSSessionNotificationDelegatenotificationDelegate
id< GSSessionPolicyDelegatepolicyDelegate

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 11 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

Property Documentation

- (id<GSSessionNotificationDelegate>) notificationDelegate [read, write, assign]

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

Definition at line 31 of file GSSessionManager.h.

- (id<GSSessionPolicyDelegate>) policyDelegate [read, write, assign]

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

Definition at line 36 of file GSSessionManager.h.


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