Click or drag to resize

HAKsiService Class

High availability KSI service. Combines max 3 sub-services to achieve redundancy.
Inheritance Hierarchy
SystemObject
  Guardtime.KSI.Service.HighAvailabilityHAKsiService

Namespace:  Guardtime.KSI.Service.HighAvailability
Assembly:  ksi-net-api (in ksi-net-api.dll) Version: 3.11.534.0 (3.11.534.0)
Syntax
public class HAKsiService : IKsiService

The HAKsiService type exposes the following members.

Constructors
  NameDescription
Public methodHAKsiService
Create high availability KSI service
Top
Properties
  NameDescription
Public propertyAggregatorAddress
List of aggregator sub-service addresses
Public propertyExtenderAddress
List of extender sub-service addresses
Public propertyExtendingServices
Collection of extending sub-services.
Public propertyPublicationsFileAddress
Publications file url
Public propertyPublicationsFileService
Publications file service.
Public propertySigningServices
Collection of signing sub-services.
Top
Methods
  NameDescription
Public methodBeginExtend(UInt64, AsyncCallback, Object)
Begin extend to latest publication (async). Sends the request to all the sub-services in parallel. First successful response is used. Request fails only if all the sub-services fail.
Public methodBeginExtend(UInt64, UInt64, AsyncCallback, Object)
Begin extend to given publication (async). Sends the request to all the sub-services in parallel. First successful response is used. Request fails only if all the sub-services fail.
Public methodBeginGetAggregatorConfig
Begin get additional aggregator configuration data (async) Sends the request to all the sub-services in parallel. Successful responses are consolidated and the consolidated result is returned. Request fails only if all the sub-services fail.
Public methodBeginGetExtenderConfig
Begin get additional extender configuration data (async) Sends the request to all the sub-services in parallel. Successful responses are consolidated and the consolidated result is returned. Request fails only if all the sub-services fail.
Public methodBeginGetPublicationsFile
Begin get publications file (async). Sends the request to all the sub-services in parallel. First successful response is used. Request fails only if all the sub-services fail.
Public methodBeginSign(DataHash, AsyncCallback, Object)
Begin create signature with given data hash (async). Sends the request to all the sub-services in parallel. First successful response is used. Request fails only if all the sub-services fail.
Public methodBeginSign(DataHash, UInt32, AsyncCallback, Object)
Begin create signature with given data hash (async). Sends the request to all the sub-services in parallel. First successful response is used. Request fails only if all the sub-services fail.
Public methodEndExtend
End extend (async).
Public methodEndGetAggregatorConfig
End get additional aggregator configuration data (async)
Public methodEndGetExtenderConfig
End get additional extender configuration data (async)
Public methodEndGetPublicationsFile
End get publications file (async).
Public methodEndSign
End create signature (async)
Public methodEquals (Inherited from Object.)
Public methodExtend(UInt64)
Extend to latest publication (sync). Sends the request to all the sub-services in parallel. First successful response is used. Request fails only if all the sub-services fail.
Public methodExtend(UInt64, UInt64)
Extend to given publication (sync). Sends the request to all the sub-services in parallel. First successful response is used. Request fails only if all the sub-services fail.
Protected methodFinalize (Inherited from Object.)
Public methodGetAggregatorConfig
Get additional aggregator configuration data (sync). Sends the request to all the sub-services in parallel. Successful responses are consolidated and the consolidated result is returned. Request fails only if all the sub-services fail.
Public methodGetExtenderConfig
Get additional extender configuration data (sync) Sends the request to all the sub-services in parallel. Successful responses are consolidated and the consolidated result is returned. Request fails only if all the sub-services fail.
Public methodGetHashCode (Inherited from Object.)
Public methodGetPublicationsFile
Get publications file (sync). Sends the request to all the sub-services in parallel. First successful response is used. Request fails only if all the sub-services fail.
Public methodGetSignResponsePayload
Get sign request response payload (async).
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSign
Create signature with given data hash (sync). Sends the request to all the sub-services in parallel. First successful response is used. Request fails only if all the sub-services fail.
Public methodToString (Inherited from Object.)
Top
Events
  NameDescription
Public eventAggregatorConfigChanged
Aggregator configuration changed event. It is raised when a sub-service aggregation configuration changes and it changes consolidated configuration.
Public eventExtenderConfigChanged
Extender configuration changed event. It is raised when a sub-service extender configuration changes and it changes consolidated configuration.
Top
See Also