Sip Endpoint SDK for Apple OS
 All Classes Functions Properties
GSConnection.h
1 //
2 // GSConnection.h
3 // SipEndpoint
4 //
5 // Created by Valery Polishchuk on 7/4/12.
6 // Copyright (c) 2012 Genesys Labs. All rights reserved.
7 //
8 
9 #import <Foundation/Foundation.h>
10 #import "GSEnums.h"
11 
12 
17 @protocol GSConnection <NSObject>
18 
22 @property (nonatomic, readonly) int connectionId;
23 
27 @property (nonatomic, readonly) GSConnectionState state;
28 
32 @property (nonatomic, readonly, copy) NSString* server;
33 
37 @property (nonatomic, readonly, copy) NSString* transport;
38 
42 @property (nonatomic, readonly, copy) NSString* user;
43 
50 @property (nonatomic, retain) NSNumber* registrationTimeout;
51 
59 @property (nonatomic, retain) NSNumber* regInterval;
60 
66 - (GSResult) enable;
67 
73 - (GSResult) disable;
74 
75 @end