Publish a tuple with a sequenceNumber. There are no specific requirements on sequenceNumber, but it can be used as a mechanism for recovery, so a monotonically increasing number is recommended such that the server, on recovery, can report what the last successfully published sequence number was per named publisher. With this approach, a publisher only needs to re-publish tuples starting from the last reported successful published sequenceNumber in LiveView.

Namespace: StreamBase.LiveView.API
Assembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 2.2.8.5956 (2.2.8.5956)

Syntax

         
 C#  Visual Basic  Visual C++ 
void Publish(
	long sequenceNumber,
	bool deleteTuple,
	Tuple tuple
)
Sub Publish ( _
	sequenceNumber As Long, _
	deleteTuple As Boolean, _
	tuple As Tuple _
)
void Publish(
	long long sequenceNumber, 
	bool deleteTuple, 
	Tuple^ tuple
)

Parameters

sequenceNumber
Int64
deleteTuple
Boolean
If true, the row identified by this tuple's primary key values will be deleted instead of added/updated.
tuple
Tuple

See Also