next up previous index
Next: EXDR Data Interchange Format Up: Embedding into Visual Basic Previous: The EclipseStreams Collection Class   Index


The EclipseStream Class

This class allows exchanging data with an embedded ECLiPSe via queue streams created by the ECLiPSe code.
Event Flush

Raised whenever the ECLiPSe program flushes this stream.

Property Get Key() As String

The symbolic name of this stream

Property Get Mode() As EclipseStreamMode

The direction in which data is sent over this EclipseStream

Property Get/Let Prompt() As String

A prompt string. This appears in an input box that pops up when the ECLiPSe program attempts to read from a queue stream if no data is available.

Sub StreamWrite(Data As String)

Send 'Data' over this stream.

Function Read(l As Long) As String

Receives at most 'l' characters from the EclipseStream. No flushing is necessary.

Function NewData() As String

Receives all available characters from the EclipseStream that has been written on the stream since the last flush.

Sub WriteExdr(Data As Variant)

Writes the given data structure onto the stream in EXDR-encoded form. See chapter 7 for details about EXDR format.

Sub ReadExdr(Data As Variant)

Reads one EXDR-encoded term from the stream and returns its VB-representation in Data. See chapter 7 for details about EXDR format.


next up previous index
Next: EXDR Data Interchange Format Up: Embedding into Visual Basic Previous: The EclipseStreams Collection Class   Index

1999-08-06