Exemple #1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="dataSourceManager">Datasourcemanager for the xfers</param>
 /// <param name="dataSource">Datasource for the xfers</param>
 internal Xfer(
     DataSourceManager dataSourceManager,
     DataSource dataSource)
 {
     this.dataSourceManager = dataSourceManager;
     this.dataSource = dataSource;
     this.pendingXfersInteropStruct = new PendingXfersInterop ();
 }
Exemple #2
0
 /// <summary>
 /// Resets all pending transfers
 /// </summary>
 /// <param name="applicationIdentity">Identity of the application</param>
 /// <param name="dataSourceIdentity">Identity of the datasource</param>
 /// <param name="pendingXfer"></param>
 /// <returns>Reply of the twaindriver</returns>
 internal static ReturnCodes ResetPendingXfer(
     Identity applicationIdentity,
     Identity dataSourceIdentity,
     PendingXfersInterop pendingXfer)
 {
     return DataSourcePendingXfer (
         applicationIdentity,
         dataSourceIdentity,
         DataGroups.Control,
         DataAttributeTypes.PendingXfers,
         Messages.Reset,
         pendingXfer);
 }