![]() |
ObjectiveC SDK
2.0
|
00001 // 00002 // IpLocationClient.h 00003 // ipLocation 00004 00005 /* 00006 * This file is part of the Telekom Objective C SDK 00007 * Copyright 2011 Deutsche Telekom AG 00008 * 00009 * Licensed under the Apache License, Version 2.0 (the "License"); 00010 * you may not use this file except in compliance with the License. 00011 * You may obtain a copy of the License at 00012 * 00013 * http://www.apache.org/licenses/LICENSE-2.0 00014 * 00015 * Unless required by applicable law or agreed to in writing, software 00016 * distributed under the License is distributed on an "AS IS" BASIS, 00017 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 00018 * See the License for the specific language governing permissions and 00019 * limitations under the License. 00020 */ 00021 00023 00027 #import "TelekomServiceClient.h" 00028 #import "LocateIpResponse.h" 00029 #import "DefaultSecurityTokenGetter.h" 00030 #import "IpLocationService.h" 00031 #import "STSToken.h" 00032 00033 @interface IpLocationClient : TelekomServiceClient 00034 00035 // constant value for service number (used in SendSmsDataFactory) 00036 extern int serviceNumber; 00037 00038 00045 -(IpLocationClient*) initWith: (STSToken*) givenToken : (NSString*) givenEnvironment; 00046 00047 00054 -(IpLocationClient*) initWith: (NSString*) givenUsername: (NSString*) givenPassword: (NSString*) givenEnvironment; 00055 00056 00062 -(LocateIpResponse*) localIp: (NSString*) ipaddress; 00063 00064 @end
1.7.5