Output

The output for the activity is the following.

Output Item

Datatype

Description

data

String

When text data is specified, this output element contains the text read from the TCP connection. The separator character, if specified, is not included in the output.

binaryData

binary

When binary data is specified, this output element contains the binary data read from the TCP connection.

endOfStreamReached

boolean

This element is set to true when the end of the data stream has been reached. This is useful when the activity is in an iteration loop and the activity is configured to read a number of bytes with each iteration. This element can be used in the condition of the loop to determine when the last set of bytes has been read.