SIP Endpoint SDK for OS X
|
#import <GSConnection.h>
Public Member Functions | |
(GSResult) | - enable |
(GSResult) | - disable |
Properties | |
NSString * | displayName |
NSString * | password |
NSNumber * | regMatchReceivedRport |
NSString * | domain |
NSNumber * | sipPortMin |
NSNumber * | sipPortMax |
NSNumber * | rtpPortMin |
NSNumber * | rtpPortMax |
NSNumber * | iceEnabled |
NSString * | stunServer |
NSNumber * | stunServerPort |
NSNumber * | turnServerPort |
NSString * | turnUserName |
NSString * | turnPassword |
NSNumber * | turnRelayType |
int | connectionId |
int | configId |
GSConnectionState | state |
NSString * | server |
NSString * | transport |
NSString * | user |
NSNumber * | registrationTimeout |
NSNumber * | regInterval |
int | sipCode |
NSString * | reason |
This protocol is implemented by each SIP connection object. Users can determine the parameters for the given connection as well as toggle connection state.
Definition at line 18 of file GSConnection.h.
- (GSResult) disable |
Disables the current connection
- (GSResult) enable |
Enables the current connection. The connection will be available for SIP message handling upon successful completion.
|
readnonatomicassign |
The connection configuration ID
Reimplemented in GSSipConnection.
Definition at line 103 of file GSConnection.h.
|
readnonatomicassign |
|
readwritenonatomicretain |
The connection display name
Reimplemented in GSSipConnection.
Definition at line 23 of file GSConnection.h.
|
readwritenonatomicretain |
The connection domain name
Reimplemented in GSSipConnection.
Definition at line 38 of file GSConnection.h.
|
readwritenonatomicretain |
The connection ICE enabled if set to 1 and disabled if 0
Reimplemented in GSSipConnection.
Definition at line 63 of file GSConnection.h.
|
readwritenonatomicretain |
The connection password
Reimplemented in GSSipConnection.
Definition at line 28 of file GSConnection.h.
|
readwritenonatomicretain |
The registration operation reason
Reimplemented in GSSipConnection.
Definition at line 152 of file GSConnection.h.
|
readwritenonatomicretain |
The period after which sip endpoint starts a new registration cycle. The valid value is => 0. If this property is not set or negative, the default timeout value is 0 means: no new reregister allowed. If this property is > 0 means: new reregister allowed and will start after the regInterval. The measurement unit is sec.
Reimplemented in GSSipConnection.
Definition at line 142 of file GSConnection.h.
|
readwritenonatomicretain |
The period after which registration should expire. A new "REGISTER" request will be sent before expiration. The valid value is => 0. If this property is not set or negative, the default timeout value is 1800 sec. If this property is equal to 0, registration disabled (standalone mode).
Reimplemented in GSSipConnection.
Definition at line 133 of file GSConnection.h.
|
readwritenonatomicretain |
The connection registration received rport matching
Reimplemented in GSSipConnection.
Definition at line 33 of file GSConnection.h.
|
readwritenonatomicretain |
The connection RTP port maximum to be used in port range
Reimplemented in GSSipConnection.
Definition at line 58 of file GSConnection.h.
|
readwritenonatomicretain |
The connection RTP port minimum to be used in port range
Reimplemented in GSSipConnection.
Definition at line 53 of file GSConnection.h.
|
readnonatomiccopy |
|
readwritenonatomicassign |
The registration operation SIP code
Reimplemented in GSSipConnection.
Definition at line 147 of file GSConnection.h.
|
readwritenonatomicretain |
The connection SIP port maximum to be used in port range
Reimplemented in GSSipConnection.
Definition at line 48 of file GSConnection.h.
|
readwritenonatomicretain |
The connection SIP port minimum to be used in port range
Reimplemented in GSSipConnection.
Definition at line 43 of file GSConnection.h.
|
readnonatomicassign |
The current connection state
Reimplemented in GSSipConnection.
Definition at line 108 of file GSConnection.h.
|
readwritenonatomicretain |
The connection STUN server name
Reimplemented in GSSipConnection.
Definition at line 68 of file GSConnection.h.
|
readwritenonatomicretain |
The connection STUN server port
Reimplemented in GSSipConnection.
Definition at line 73 of file GSConnection.h.
|
readnonatomiccopy |
The transport protocol to use when communicating with this server. Possible values are "tcp" or "udp"
Reimplemented in GSSipConnection.
Definition at line 119 of file GSConnection.h.
|
readwritenonatomicretain |
The connection TURN password
Reimplemented in GSSipConnection.
Definition at line 88 of file GSConnection.h.
|
readwritenonatomicretain |
The connection TURN relay type
Reimplemented in GSSipConnection.
Definition at line 93 of file GSConnection.h.
|
readwritenonatomicretain |
The connection TURN server port
Reimplemented in GSSipConnection.
Definition at line 78 of file GSConnection.h.
|
readwritenonatomicretain |
The connection TURN user name
Reimplemented in GSSipConnection.
Definition at line 83 of file GSConnection.h.
|
readnonatomiccopy |
The user id for this connection
Reimplemented in GSSipConnection.
Definition at line 124 of file GSConnection.h.