PreEmptive Analytics .NET API  1.3
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Events | List of all members
PreEmptive.Analytics.Common.IQueueTransmitter Interface Reference

An interface which describes an IQueueProcessor that is also capable of sending batches to an endpoint More...

Inherits PreEmptive.Analytics.Common.IQueueProcessor.

Inherited by PreEmptive.Analytics.Common.TransmitterThread.

Public Member Functions

bool Transmit (MessageBatch batch)
 Attempts to send a MessageBatch to a server. More...
 
void FailTransmissionsNow ()
 Immediately interrupts all transmissions and causes them to fail. If OfflineStorage is disabled, all messages are at least sent to the XMLTransmitter, but assumed to have failed. More...
 
- Public Member Functions inherited from PreEmptive.Analytics.Common.IQueueProcessor
void Start ()
 Begins the automatic processing of the message queue. (not blocking, creates it's own thread) More...
 
void Stop ()
 Halts the automatic processing of the message queue. More...
 
void ProcessQueueNow ()
 Processes the queue if the message queue processor is currently running. More...
 

Events

Action< MessageBatchTransmissionFailed
 Signals that the transmission of this batch has failed (and will not be reattempted without intervention) More...
 

Additional Inherited Members

- Properties inherited from PreEmptive.Analytics.Common.IQueueProcessor
bool Running [get, set]
 If the MessageQueueProcessor is currently running. More...
 

Detailed Description

An interface which describes an IQueueProcessor that is also capable of sending batches to an endpoint

Member Function Documentation

void PreEmptive.Analytics.Common.IQueueTransmitter.FailTransmissionsNow ( )

Immediately interrupts all transmissions and causes them to fail. If OfflineStorage is disabled, all messages are at least sent to the XMLTransmitter, but assumed to have failed.

Implemented in PreEmptive.Analytics.Common.TransmitterThread.

bool PreEmptive.Analytics.Common.IQueueTransmitter.Transmit ( MessageBatch  batch)

Attempts to send a MessageBatch to a server.

Returns
If the send succeeded.

Implemented in PreEmptive.Analytics.Common.TransmitterThread.

Event Documentation

Action<MessageBatch> PreEmptive.Analytics.Common.IQueueTransmitter.TransmissionFailed

Signals that the transmission of this batch has failed (and will not be reattempted without intervention)


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