Ofcas.Lk.Api.Client - Version 3.0  3.0.0.106
Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject > Class Template Referenceabstract
Inheritance diagram for Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject >:
Ofcas.Lk.Api.Client.Core.Disposable

Public Member Functions

void Start ()
 Starts the service. This method must be called first to get the LoginScope (Login). More...
 
void Stop ()
 Stops the service. This method must be called before destroying the ServiceProxyBase. This method is also called in the destructor. More...
 
TCoreObject Login (string programMode, long uiHandle, TimeSpan synchronizeInterval=default(TimeSpan))
 Login to the API to get access to projects, elvations etc. . Without login no access to the API is available. Attention: Before a login is possible, the service must be started (Start). More...
 
- Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.Disposable
void Dispose ()
 

Protected Member Functions

 ServiceProxyBase (string installationPath, string args="")
 
override void Dispose (bool disposing)
 
abstract TCoreObject GetLoginScope (TService service, Guid coreObjectId, TimeSpan synchronizeInterval)
 
abstract string GetFullQualifiedServicePath ()
 

Properties

TimeSpan StartTimeout [get, set]
 Defines the timeout for the start operation as TimeSpan. More...
 
TimeSpan WorkingTimeout = new TimeSpan(00, 01, 00) [get, set]
 Defines the timeout for working operation as TimeSpan. More...
 

Additional Inherited Members

- Events inherited from Ofcas.Lk.Api.Client.Core.Disposable
Action< DisposableDisposed
 

Member Function Documentation

◆ Login()

TCoreObject Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject >.Login ( string  programMode,
long  uiHandle,
TimeSpan  synchronizeInterval = default(TimeSpan) 
)

Login to the API to get access to projects, elvations etc. . Without login no access to the API is available. Attention: Before a login is possible, the service must be started (Start).

Parameters
programModeThe program mode provided from Orgadata for the associated partner
uiHandleThe handle from a window of the user application
synchronizeIntervalThe interval to synchronize the core objects in multi-client mode. If the value is TimeSpan.Zero no synchronization will be active.
Returns
The TCoreObject to interact with LogiKal.
Exceptions
ArgumentExceptionOccurs if any arugment is invalid.
ApiExceptionOccurs if any error occurs.

◆ Start()

void Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject >.Start ( )

Starts the service. This method must be called first to get the LoginScope (Login).

◆ Stop()

void Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject >.Stop ( )

Stops the service. This method must be called before destroying the ServiceProxyBase. This method is also called in the destructor.

Property Documentation

◆ StartTimeout

TimeSpan Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject >.StartTimeout
getset

Defines the timeout for the start operation as TimeSpan.

◆ WorkingTimeout

TimeSpan Ofcas.Lk.Api.Client.Ui.ServiceProxyBase< TService, TCoreObject >.WorkingTimeout = new TimeSpan(00, 01, 00)
getset

Defines the timeout for working operation as TimeSpan.


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