SIP Endpoint SDK for OS X
 All Classes Functions Properties
GSEndpointFactory Class Reference

#import <GSEndpointFactory.h>

List of all members.

Static Public Member Functions

(id< GSEndpoint >) + initSipEndpoint:
(id< GSEndpoint >) + initSipEndpoint:logger:

Detailed Description

This class is used to create an instance of a sip endpoint. Note that in the current implementation the sip endpoint is a singleton.

Definition at line 18 of file GSEndpointFactory.h.


Member Function Documentation

+ (id<GSEndpoint>) initSipEndpoint: (NSData *)  configData

Should be used to create an instance of the sip endpoint with built-in logger.

Parameters:
configDatawith sip endpoint configuration taken from .config file.
Returns:
an instance of the current sip endpoint.
See also:
GSEndpointFactory
+ (id<GSEndpoint>) initSipEndpoint: (NSData *)  configData
logger: (id< GSLogger >)  logger 

Should be used to create an instance of the sip endpoint with external logger.

Parameters:
configDataholds sip endpoint configuration taken from .config file.
loggeran object implementing the GSLogger protocol which will be used to log all messages.
Returns:
an instance of the current sip endpoint.
See also:
GSEndpointFactory

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