Previous ION Java User's Guide: ION Java Class and Method Reference Next

addIONOutputListener()

The addIONOutputListener() method is used to add an object that implements the IONOutputListener interface to the internal list of listeners kept by this object. When any IDL output is sent from the server to the client, the output is sent to the objects contained in the listener list through the callback method defined by the IONOutputListener interface. This provides an efficient method of passing IDL output to the client and mimics the Java 1.1 event model.

Syntax

public final void addIONOutputListener(IONOutputListener listener)

Arguments

listener

This is an object that implements the IONOuptutListener interface. This interface defines the format of the callback method used to pass IDL output to the listener object. The listener is added to the internal listener list.

Exceptions

None.

  IDL Online Help (March 06, 2007)