Enqueue a tuple to the named 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(
	string sStreamName,
	Tuple tuple
)
Public Sub Enqueue ( _
	sStreamName As String, _
	tuple As Tuple _
)
public:
void Enqueue(
	String^ sStreamName, 
	Tuple^ tuple
)

Parameters

sStreamName
String
the name of the stream 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