Enqueue a tuple to a stream. The stream must not be tied to the output of any operator in the application. This method can block depending on network, or StreamBase server, congestion.

Note:
enqueue() will modify the tuple as it is enqueued. If you do not want the tuple modified you must make a copy of it before calling enqueue.

Namespace: StreamBase.SB.Client
Assembly: StreamBase.SB.Client (in StreamBase.SB.Client.dll) Version: 7.7.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public void Enqueue(
	StreamProperties props,
	Tuple tuple
)
Public Sub Enqueue ( _
	props As StreamProperties, _
	tuple As Tuple _
)
public:
void Enqueue(
	StreamProperties^ props, 
	Tuple^ tuple
)

Parameters

props
StreamProperties
the StreamProperties to which to enqueue the tuple
tuple
Tuple
tuple to enqueue

Exceptions

ExceptionCondition
StreamBase.SB.Client..::..StreamBaseNetworkExceptionUnable to connect to server
StreamBase.SB..::..StreamBaseExceptionGeneral problem occurred

See Also