Sip Endpoint SDK for Apple OS
 All Classes Functions Properties
<GSConnectionPolicyDelegate> Protocol Reference

#import <GSConnectionPolicyDelegate.h>

Inheritance diagram for <GSConnectionPolicyDelegate>:
<GSPolicyDelegate>

List of all members.

Public Member Functions

(NSString *) - publicAddress
(NSString *) - ipVersions
- Public Member Functions inherited from
(void) - configureWithDictionary:

Detailed Description

This policy delegate is used to define connection behavior

Definition at line 15 of file GSConnectionPolicyDelegate.h.


Member Function Documentation

- (NSString*) ipVersions

Used to specify the IP Versions.

IPv4 - select local IPv4 address (ignore IPv6) IPv6 - select local IPv6 address (ignore IPv4) IPv4,IPv6 or empty - select IPv4 if exists, otherwise IPv6 (this is default) IPv6,IPv4 - select IPv6 if exists, otherwise IPv4

NOTE: this option takes no effect if public-address option specifies explicit IP address.

Returns:
an IP Version to be used to identify the host IP Address
- (NSString*) publicAddress

Used to specify the host name or IP address at which all managed connections can be reached.

Returns:
an IP address, a publicly visible host name, or nil to use an internal selection algorithm

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