C# Class RusticiSoftware.TinCanAPILibrary.Model.TCAPICallback

This is simply a sample implementation of the TCAPI callback that doesn't provide a lot of functionality. This class should be extended for functionality.
Inheritance: ITCAPICallback
Mostrar archivo Open project: RusticiSoftware/TinCanAPILibraryCSharp

Public Methods

Method Description
StatementsFailed ( RusticiSoftware.TinCanAPILibrary.Model.Statement failedBatch, Exception e ) : void

Handles the case in which the statements fail to post

StatementsStored ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements ) : void

Indicator of storing success. This will allow the TCAPI object to continue Asynchronous flushing.

Method Details

StatementsFailed() public method

Handles the case in which the statements fail to post
public StatementsFailed ( RusticiSoftware.TinCanAPILibrary.Model.Statement failedBatch, Exception e ) : void
failedBatch RusticiSoftware.TinCanAPILibrary.Model.Statement The batch of statements that failed
e System.Exception The thrown exception, usually a webexception
return void

StatementsStored() public method

Indicator of storing success. This will allow the TCAPI object to continue Asynchronous flushing.
public StatementsStored ( RusticiSoftware.TinCanAPILibrary.Model.Statement statements ) : void
statements RusticiSoftware.TinCanAPILibrary.Model.Statement
return void