LrJposChannel.setUsable

Sets the usable state for the connection.

public static void setUsable(boolean b)

Parameters

  • b: The boolean value that represents the usable attribute.

Return values

This function does not return any values.

General information

The usable attribute is by default set to true when a connection is ready to use, and is set to false when the channel is disconnected.

You can use it to flag a connection as unusable, in order to force a reconnection.

Note: This attribute is used by ISOMUX internals for multiplexers. ISOMUX is deprecated and no longer exists in the current jPOS version.