Sip Endpoint SDK for Apple OS
 All Classes Functions Properties
GSEndpointFactory Class Reference

#import <GSEndpointFactory.h>

List of all members.

Static Public Member Functions

(id< GSEndpoint >) + sipEndpoint
(id< GSEndpoint >) + sipEndpointWithLogger:
(id< GSEndpoint >) + sipEndpointWithLogFile:logLevel:
(id< GSEndpoint >) + sipEndpointWithLogLevel:

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 17 of file GSEndpointFactory.h.


Member Function Documentation

+ (id<GSEndpoint>) sipEndpoint

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

Returns:
returns the current sip endpoint. This object can be used to subscribe for endpoint state change notifications. GSDefaultLogger will be used for logging to console.
See also:
GSObservable
GSStatusObserver
GSDefaultLogger
+ (id<GSEndpoint>) sipEndpointWithLogFile: (NSString *)  logFile
logLevel: (NSString *)  logLevel 

Same as sipEndpoint with the added ability to provide logging to a log file with certain level.

Parameters:
logFile,:/path/logfilename.log.
logLevel,:debug; info; warn; error; fatal.
Returns:
an instance of the current sip endpoint.
See also:
+ sipEndpoint
+ (id<GSEndpoint>) sipEndpointWithLogger: (id< GSLogger >)  logger

Same as sipEndpoint with the added ability to provide a custom logger to be used by the framework.

Parameters:
loggeran object implementing the GSLogger protocol which will be used to log all messages.
Returns:
an instance of the current sip endpoint.
See also:
+ sipEndpoint
+ (id<GSEndpoint>) sipEndpointWithLogLevel: (NSString *)  logLevel

Same as sipEndpoint with the added ability to provide console logging with certain log level.

Parameters:
logLevel,:debug; info; warn; error; fatal.
Returns:
an instance of the current sip endpoint.
See also:
+ sipEndpoint

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