A StreamMessage is a message type that allows applications to send and receive an unspecified number of items; each item is a Java data type. All basic Java data types are supported. When receiving any arbitrary Java data type, an application uses methods to read and specify an ABL data type. When writing a message from ABL, an application uses methods to send any of those Java data types and to specify the data.

The following table lists the methods for handling stream messages.

Table 1. Methods for handling stream messages
Create method Populate method Access method
createStreamMessage procedure writeBoolean procedure writeByte procedure writeBytesFromRaw procedure writeChar procedure writeDate procedure writeDateTime procedure writeDateTime-TZ procedure writeDouble procedure writeFloat procedure writeInt procedure writeInt64 procedure writeLong procedure writeLongString procedure writeShort procedure writeString procedure reset procedure clearBody procedure endOfStream function moveToNext procedure readBytesToRaw procedure readChar function readDate function readDateTime function readDateTime-TZ function readDecimal function readInt function readInt64 function readLogical function readLongString function readLongStringCP function