Retrieve a publisher instance allowing a client to publish data to this table with the given buffer size and
flush interval.
Namespace: StreamBase.LiveView.APIAssembly: StreamBase.LiveView.API (in StreamBase.LiveView.API.dll) Version: 11.1.0.0 (11.1.0.8)
Syntax
C# | Visual Basic | Visual C++ |
ITablePublisher GetTablePublisher( string publisherName, int bufferSize, TimeSpan flushInterval )
Function GetTablePublisher ( _ publisherName As String, _ bufferSize As Integer, _ flushInterval As TimeSpan _ ) As ITablePublisher
ITablePublisher^ GetTablePublisher( String^ publisherName, int bufferSize, TimeSpan flushInterval )
Parameters
- publisherName
- String
- bufferSize
- Int32
Number of tuples to buffer before sending to server. A higher number provides better throughput but potentially higher latencies. A value of 0 will prevent any buffering from taking place, minimizing latency at the cost of incurring a lower throughput.
- flushInterval
- TimeSpan
The interval between flushing the buffered tuples if the buffer does not completely fill. A value of 0 will prevent any buffering from taking place, minimizing latency at the cost of incurring a lower throughput.