Collapse All Expand All | Language Filter: C#Language Filter: Visual Basic Language Filter: Visual C++ C# Visual Basic Visual C++ | See Also
StreamBase Client API
Operator..::ProcessTuple Method

This is called whenever the .NET Operator receives a tuple to be processed by the .NET client code.

This method should not be made to block as this will interrupt the tuple flow through the .NET Operator, potentially hanging the StreamBase application in part or in whole.

The client code may wish to thow a StreamBaseException if something goes wrong; this exception will be passed along to the Operator for proper logging in the application.

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

# Syntax

| C# |  |  | Visual Basic |  |  | Visual C++ |

    public virtual void ProcessTuple(
    	int inputPort,
    	Tuple tuple
    )

    Public Overridable Sub ProcessTuple ( _
    	inputPort As Integer, _
    	tuple As Tuple _
    )

    public:
    virtual void ProcessTuple(
    	int inputPort,
    	Tuple^ tuple
    )

#### Parameters

inputPort
  Int32
  the (zero-based) number of the port on which this tuple was received.

tuple
  Tuple
  tuple to process.

# Exceptions

Exception | Condition
--- | ---
StreamBase.SB..::..StreamBaseException | you may throw this exception to indicate that an error has occurred during processing.

# See Also

Operator Class
StreamBase.SB Namespace