nerdexam
IBM

LOT-404 · Question #76

What are two ways a developer could explicitly detect connectivity loss? (Choose two.)

The correct answer is A. Detect connection loss during application initialization. C. Detect connection loss by invoking the adapter using the WL.Client.invokeProcedure() method. See the full explanation below for the reasoning.

Question

What are two ways a developer could explicitly detect connectivity loss? (Choose two.)

Options

  • ADetect connection loss during application initialization.
  • BDetect connection loss by calling the WL.Client.IsConnected() method.
  • CDetect connection loss by invoking the adapter using the WL.Client.invokeProcedure() method.
  • DDetect connection loss by adding an event listener to the WL.Events.WORKLIGHT_IS_DISCONNECTED
  • EDetect connection loss by checking status of the CONNECTED property of the WL.Client.getEnvironment()

How the community answered

(50 responses)
  • A
    74% (37)
  • B
    4% (2)
  • D
    8% (4)
  • E
    14% (7)

Community Discussion

No community discussion yet for this question.

Full LOT-404 Practice