SMPClientConnection class

Syntax

@interface SMPClientConnection : NSObject

Members

All members of SMPClientConnection, including inherited members.

Methods
Method Description
+ (SMPClientConnection *) initializeWithAppID: (NSString *) applicationID domain: (NSString *) domain secConfiguration: (NSString *) secConfig Gets the instance/object of the client connection class.
- (void) setApplicationConnectionID: (NSString *) appConnectionID Sets the application Connection ID to ClientConnection.
- (void) setClientIdentityCertificate: (SecIdentityRef) secIdenref Sets the identity reference (X.509 certificate + private key) for this request; used for secure connections.
- (BOOL) setConnectionProfileWithHost: (NSString *) hostName port: (NSString *) portNumber farm: (NSString *) farmId relayServerUrlTemplate: (NSString *) urlSuffix enableHTTP: (BOOL) enableHttp Provides connection properties to the connection class before registration.
- (BOOL) setConnectionProfileWithUrl: (NSString *) hostPort Provides connection properties to the connection class before registration.
- (void) setTraceLevel: (E2ELevel) value_in Set the trace level, default is E2EMEDIUM.If tracing is enabled, "SAP-PASSPORT" and "X-CorrelationID" headers are set and filled with values to enable SAP Passport functionality.
- (void) startTrace Enables the tracing and starts generating Business Transaction XML.
- (void) stopTrace Disables the tracing and stops generating BTX.
- (void) uploadTraceWithUserName: (NSString *) username passWord: (NSString *) password error: (NSError **) error Uploads the generated BTX to solution manager server via SAP Mobile Platform.

Usage

Consists of methods used to interact with the underlying client to register connection settings . Using this class the application can initialize/set connection by providing hostname ,port, applicationID,domain and security configuration,