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

setConnectionMethod()

The setConnectionMethod() method sets the type of connection for the client.

Syntax

public final void setConnectionMethod(int iType)

Arguments

iType

Set the Type argument to one of the three following values:

These values are defined as constants in the IONCallableClient class definition.

Example

To set the connection type to socket-only, use the following statement:

setConnectionMethod(IONCallableClient.SOCK_CON)  

  IDL Online Help (March 06, 2007)