Click or drag to resize

ScoringProgramHttpClient Class

WARN: Currently not supported. Uses the Http protocol to communicate with the Data Connector.
Inheritance Hierarchy
SystemObject
  BridgeSystems.Bridgemate.DataConnector.ScoringProgramClientScoringProgramHttpClient

Namespace: BridgeSystems.Bridgemate.DataConnector.ScoringProgramClient
Assembly: BridgeSystems.Bridgemate.DataConnector.ScoringProgramClient (in BridgeSystems.Bridgemate.DataConnector.ScoringProgramClient.dll) Version: 1.0.923.1+8676f6447fd14feb672ed9c066f2812915b8f069
Syntax
C#
public class ScoringProgramHttpClient : IDisposable

The ScoringProgramHttpClient type exposes the following members.

Constructors
 NameDescription
Public methodScoringProgramHttpClientInitializes a new instance of the ScoringProgramHttpClient class
Top
Properties
 NameDescription
Public propertyIsActive 
Public propertyIsSending Only one request can be sent at the same time. So let asynchronous code always check, set and reset this property before, while and after sending a request. Feel free to make more nifty implementations.
Public propertyLastHandrecordQueueItemId The id of the last handrecord queue item downloaded from the Data Connector. You can use this to internally accept this item (and all before of the same type).
Public propertyLastParticipantQueueItemId The id of the last participant queue item downloaded from the Data Connector. You can use this to internally accept this item (and all before of the same type).
Public propertyLastResultQueueItemId The id of the last result queue item downloaded from the Data Connector. You can use this to internally accept this item (and all before of the same type).
Top
Methods
 NameDescription
Public methodAcceptQueueDataAsync Signals to the Data Connector that a specific type of queuedata up to the specified id does not need to be sent again.
Public methodConnect 
Public methodContinueAsync Instructs BCS to continue working a previously created scoring file.
Public methodDisconnectAsync 
Public methodDisposeReleases all resources used by the ScoringProgramHttpClient
Protected methodDispose(Boolean)Releases the unmanaged resources used by the ScoringProgramHttpClient and optionally releases the managed resources
Public methodGetMovementAsync Returns the movement for the given section as it is in use by BCS. This data can be used to create movement updates.
Public methodInitiaLizeAsync Instructs BCS to create a new scoring file with the provided table domain data (scoring groups, sections, tables, rounds). Player names, Results and Handrecords can be included or can be uploaded later. The latter option is considerably less performant.
Public methodPing Communicates to the Data Connector to see if it is responsive.
Public methodPollForHandrecordsAsync 
Public methodPollForParticipationsAsync 
Public methodPollForResultsAsync 
Public methodSendHandrecordsAsync Sends handrecords to the BCS queue.
Public methodSendParticipationsAsync Sends participations to the BCS queue.
Public methodSendPlayerDataAsync Sends PlayerData to the BCS queue.
Public methodSendResultsAsync Sends boardresults to the BCS queue
Top
Fields
 NameDescription
Protected fieldStatic memberDebugLogger 
Protected fieldStatic memberErrorLogger 
Top
See Also